user4501847
user4501847

Reputation:

Android Studio - Download Gradle 0.12.2?

How I can download Gradle 0.12.2 in Android Studio (automatically)?

I see this website gradle but I can't find it .

I find local path Gradle : C:\Users\Makarem01\.gradle\wrapper\dists\gradle-0.12.2 get me error Gradle location is incorrect. What can I do ? I upload photo of error.

enter image description here

When i use from gradle wrapper say me : The project is using an unsupported version of the Android Gradle plug-in (0.12.2). The recommended version is 1.1.0. Consult IDE log for more details (Help | Show Log)

Upvotes: 1

Views: 2681

Answers (1)

Donn Felker
Donn Felker

Reputation: 9651

Open the build.gradle file.

Find this line: classpath 'com.android.tools.build:gradle:0.12.2'

replace it with this:

classpath 'com.android.tools.build:gradle:1.0.0'

Save the file, then try to re-import using the gradle wrapper option again.

Upvotes: 2

Related Questions