How to fix project Gradle too low/upgrade Androidstudio, project open very slowly

Source: Internet
Author: User
How to fix project Gradle too low/After upgrading Androidstudio, the project opens very slowly.

从低版本的gradle升级到高版本需要注意的地方:1、修改项目根目录下的build.gradle文件里加载插件类的版本,对应为AS的版本,如我现在使用的是3.1.0

2、修改项目根目录下的gradle/wrapper目录里gradle-wrapper.properties的文件,指定gradle编译版本

Note:
Using as to upgrade the Gradle version always prompts for timeouts; we can directly access https://services.gradle.org/distributions download the required version, Then unzip the downloaded package to the Gradle cache directory (Windows directory system).
Eg:c:\users\zhang.gradle\wrapper\dists\gradle-4.4-all under the MD5 code folder.

How to fix project Gradle too low/upgrade Androidstudio, project open very slowly

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.