TangoAgency / material-intro-screen

Inspired by Heinrich Reimer Material Intro and developed with love from scratch
MIT License
2.71k stars 410 forks source link

Cannot create variant 'android-lint' after configuration ':material-intro-screen:debugRuntimeElements' has been resolved #155

Open vivekpanchal opened 6 years ago

vivekpanchal commented 6 years ago

getting this error when importing the project. seems like gradle4.4 not supported yet as I am on android studio 3.1

Cannot create variant 'android-lint' after configuration ':material-intro-screen:debugRuntimeElements' has been resolved

errorgithub

RajkumarRepo commented 6 years ago

Same Issue Occur when updating the gradle

mohammadashenab commented 6 years ago

Same Issue here

mseslami commented 6 years ago

same here :(

DivyaPrajapati09 commented 5 years ago

any updates on this issue?

mohsinagc commented 5 years ago

Same Issue Here

DivyaPrajapati09 commented 5 years ago

Firstly dont update the project when prompted. Keep gradle version to 4.4 and build tool version to 3.1.0. Also update classpath of nova to classpath 'com.novoda:bintray-release:0.8.0'. Next navigate to build.gradle file of material-intro-screen library and look for classpath = project.files(variant.javaCompile.classpath.files) + project.files(ext.androidJar) replace it with doFirst { classpath = project.files(variant.javaCompile.classpath.files) + project.files(ext.androidJar) } Also add lintOptions { abortOnError false } in the file above stated And sync the project.