Gradle version issues in Android Studio

Source: Internet
Author: User

There is a default Gradle folder in the Android Studio directory, and this is what you use when you create a new project Gradle

The folder name displays the version number 2.10

A project catalog is as follows

Where Gradle\wrapper\gradle-wrapper.properties's last line of URLs shows the Gradle version that this item uses: distributionurl=https\:// Services.gradle.org/distributions/gradle-2.10-all.zip indicates that this project is using 2.10

When we open an existing project, if the Gradle version used by this project is inconsistent with the default of as, as will automatically download the Gradle version of the project and store it in the C:\Users\...\.gradle\wrapper\dists directory as the GR The order in which the Adle version exists is: 1. As the default Gradle version, 2. C:\Users\...\.gradle\wrapper\dists version, there is a match is directly used, no match download the following new project used in the Gradle version of 2.14,as will download version 2.14 Gradle

Because the wall download Gradle speed is very slow, can download the corresponding version https://gradle.org/gradle-download/(complete distribution) copy downloaded Gradle-2.14-all.zip to C in the official website : \users\...\.gradle\wrapper\dists\gradle-2.14-all\t7wfomcrmv8dmyii9c9waem8\ directory without decompression, different versions of Gradle, random code T7WFOMCRMV8DMYII9C9WAEM8 depending on the version of Gradle Note: When you open the project to download Gradle, the random code directory will be automatically generated, download the card to force the end as process, and then go to the official website to download the corresponding version can be

Gradle version issues in Android Studio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.