Reputation: 71
I am getting mentioned error when importing this project: https://github.com/chrisbanes/cheesesquare.
Upvotes: 2
Views: 7803
Reputation: 1722
One of the solution is to download Android 3.0 but if you don't want to use beta version you can change the gradle version to whichever version you prefer. To change version follow these steps
File -> Project Structure -> Project -> change gradle version to 3.3 and android plugin version to the android studio version you are using. -> Rebuild your project.
Upvotes: 0
Reputation: 21
To resolve this issue, replace in build.gradle your classpath 'com.android.tools.build:gradle:apla3XX.XX' by classpath 'com.android.tools.build:gradle:2.3.3' to downgrade your graddle.
https://github.com/firebase/quickstart-android/issues/294
Upvotes: 2
Reputation: 71
I didn't know there is a preview version (3.0 Canary 7) for the android studio. Well downloaded it, the app is working.
Upvotes: 1