emotionull
emotionull

Reputation: 615

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.

Upvotes: 6

Views: 5272

Answers (2)

smoothdvd
smoothdvd

Reputation: 2448

In Android Studio 0.8.7, you can change to

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

Upvotes: 0

Alex Dmitriev
Alex Dmitriev

Reputation: 3710

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.

Upvotes: 10

Related Questions