Android Studio Error: Unsupported Android Gradle Plugin Version (0.9.2)

I have been working on an Android project for several months, and recently I updated my android studio from 0.5.2 to 0.8.0. Now I can not open my project through the new Android studio. I get this error whenever I try to open a project and cannot open it.

The project is using an unsupported version of the Android Gradle plug-in (0.9.2) Consult IDE log for more details (Help | Show Log) 

I don't know much about Gradle, Ant, Maven, or any inline script. In addition, there is no way to see the logs from the Start screen in Android Studio.

+6
source share
2 answers

Since your project does not open in the IDE, try updating the version of the Gradle plugin manually. Locate the build.gradle file in the project root directory and change the version in the buildscript block buildscript that it looks like this:

 buildscript { ... dependencies { classpath 'com.android.tools.build:gradle:0.12.+' } } 

Save the file and try reopening the project.

+10
source

In Android Studio 0.8.7 you can go to

 buildscript { ... dependencies { classpath 'com.android.tools.build:gradle:0.12.2' } } 
0
source

Source: https://habr.com/ru/post/971579/


All Articles