2

I am getting mentioned error when importing this project: https://github.com/chrisbanes/cheesesquare.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

3 Answers3

2

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

John Doedoe
  • 3,423
  • 1
  • 12
  • 8
abn117
  • 21
  • 1
1

I didn't know there is a preview version (3.0 Canary 7) for the android studio. Well downloaded it, the app is working.

0

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.

enter image description here

Henu
  • 1,622
  • 2
  • 22
  • 27