Android studio update Gradle error solution, androidgradle
When importing Android Studio, the first thing is to download the gradle of the corresponding version of the project. However, Android Studio is slow to download corresponding gradle because of the wall in China. We can first use tools such as thunder on the internet, put them in the specified path, and then restart Android Studio to solve this problem. First open the android studio project and find the project directory gradle \ wrapper \ gradle-wrapper.properties File
The content is as follows:
# Wed Apr 10 15:27:10 PDT 2013
DistributionBase = GRADLE_USER_HOME
DistributionPath = wrapper/dists
ZipStoreBase = GRADLE_USER_HOME
ZipStorePath = wrapper/dists
DistributionUrl = http \: // services.gradle.org/distributions/gradle-1.9-all.zip
The most important thing is the following sentence: android studio will download the gradle plug-in line with the current version online. Although this website can be accessed, it is too slow, therefore, each update may take a long time or time out.
The following is my attempt to solve the problem is to download the plug-in of the http://services.gradle.org/distributions/gradle-1.9-all.zip version through the download tool, the download tool will be faster to download the zip file directly, do not extract copy to C: \ Users \ Administrator \. gradle \ wrapper \ dists \ gradle-1.9-all \ 3jdgemv0iv8uqohg3kcp2o88r1 directory
Close android studio again or click Sync Project Gradle Files in the toolbar of android studio.
Android studio is an automatic update plug-in. You do not need to download it.