Android Studio 2.2 Gradle update fails
New Android Studio ask me about Gradle plugin update
But it fails, when I press Update button. Failed to update the version of Android Gradle Plugin
How to fix this?
Looks like it's an inner bug of Android Studio
I just change manually
compile 'com.android.tools.build:gradle:2.1.3'
in root build.gradle
to
compile 'com.android.tools.build:gradle:2.2.0'
And all started working.
Download gradle this link manually and copy gradle folder
https://services.gradle.org/distributions/gradle-2.14.1-all.zip
Last version :
https://services.gradle.org/distributions/gradle-3.1-all.zip
链接地址: http://www.djcxy.com/p/36306.html