Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Error : Unsupported version of the Android Gradle plug-in (0.9.2)

I am working on an Android Project for few months and I recently upgraded android studio form 0.5.2 to 0.8.0. Now I am unable to open my project via new Android Studio. I am getting this error whenever I try to open the project and unable to 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 built script. Also, there is no option to see the the logs from the Start screen of android studio.

like image 874
emotionull Avatar asked Jul 01 '14 06:07

emotionull


1 Answers

Since your project is not being opened by the IDE, try to update Gradle plugin version manually. Locate build.gradle file in your project's root directory and change the version in buildscript block so it would look like this:

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

Save the file and try to re-open your project.

like image 137
Alexey Dmitriev Avatar answered Sep 28 '22 01:09

Alexey Dmitriev