Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No variants found for 'app.' #65

Open
childslayer opened this issue Nov 25, 2020 · 8 comments
Open

No variants found for 'app.' #65

childslayer opened this issue Nov 25, 2020 · 8 comments

Comments

@childslayer
Copy link

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.

@childslayer
Copy link
Author

ok well i wasted so much time lol just clone it on no activity :/

@childslayer
Copy link
Author

ok nvm .....

@R4Lpf
Copy link

R4Lpf commented Jan 20, 2021

Wait what are you supposed to do to fix this issue exactly?

@childslayer
Copy link
Author

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

@goudekim
Copy link

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.

@thedroiddiv
Copy link

thedroiddiv commented May 11, 2021

Just see what sdk-version it is using.
Then go to File->Settings->Appearance and Behaviour->System Settings->Android SDK
Check the specific version of API Level and install it.

I had same issue and found out that API Level - 28 was missing.
Screenshot from 2021-05-11 09-05-34

@dsnikam
Copy link

dsnikam commented Jan 21, 2022

Just see what sdk-version it is using. Then go to File->Settings->Appearance and Behaviour->System Settings->Android SDK Check the specific version of API Level and install it.

I had same issue and found out that API Level - 28 was missing. Screenshot from 2021-05-11 09-05-34

This solution worked for me.
thanks a lot

@davidavdav
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants