No variants found for 'app.'
childslayer opened this issue · comments
Hello.
MY POV
-Download zip file
-Opened it
-Opened Android Studio
-Clicked on "Open an existing Android Studio project."
-material-components-android-codelabs-102-starter/kotlin/shrine
(couldn't go material-components-android-codelabs-102-starter/kotlin because it won't work)
-error pops up
No variants found for 'app'. Check build files to ensure at least one variant exists.
ok well i wasted so much time lol just clone it on no activity :/
ok nvm .....
Wait what are you supposed to do to fix this issue exactly?
I gave up lol. I suggest creating ur own app and implementing shrine's features. Or what I did, just implement it whenever I need it lol
Fixed the first error with missing dependencies. Then the "app" error popped up. Apparently the gradle settings is looking for an "include ':app' file. Still broken since Im new to this gobbledeegook. Not very impressed so far.
For what it worth, in my case (for a completely unrelated project) I had to increase the memory for the JVM in grade.properties
org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8