问题
I am getting mentioned error when importing this project: https://github.com/chrisbanes/cheesesquare.
回答1:
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
回答2:
I didn't know there is a preview version (3.0 Canary 7) for the android studio. Well downloaded it, the app is working.
回答3:
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.
来源:https://stackoverflow.com/questions/45171647/this-gradle-plugin-requires-android-studio-3-0-minimum