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

上一篇: 使用适用于Android 4.4及更高版本的crosswalk有没有真正的好处?

下一篇: Android Studio 2.2 Gradle更新失败