Android Studio Gradle Update Error

I recently updated Android Studio to version 0.2, and now when I create my code, I get this error. Please tell me how to overcome this.

Gradle Failed to update NewProject project:

The project uses the old version of the Android Gradle plugin. The minimum supported version is 0.5.0. Update the dependency version of 'com.android.tools.build: gradle' in your build.gradle files. Search build.gradle files (show balloon)

+6
source share
2 answers

This was reported in the release of Android Studio Build # AI-130.737825, built on July 11, 2013. Fortunately, there is a workaround that you can solve to fix this import problem.

Externally edit the build.gradle file of the project by changing 'com.android.tools.build: gradle: 0.4.2' to 'com.android.tools.build:gradleogle.5.+'

Here is the link to the question

+10
source

Switch to

build.gradle

and replace the line

'com.android.tools.build: gradle: (what you have)'

with

'Com.android.tools.build: gradle: 0.5'

+1
source

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


All Articles