Android Studio has been in the building "XXX" Gradle Project Info solution when creating/importing projects

Source: Internet
Author: User

Android Studio in the new project or import the project, may have been in the building "XXX" Gradle Project info State, but also can not be canceled, but only to kill the process ...

Another scenario is Gradle Project Compile Error, which is the same problem, explain why these problems occur ~ ~

Open the Android Studio project under Gradle\wrapper\gradle-wrapper.properties This file to see what's inside

#Wed APR 15:27:10 PDT 2013distributionbase=gradle_user_homedistributionpath=wrapper/distszipstorebase=gradle_ User_homezipstorepath=wrapper/distsdistributionurl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip


The last sentence, Android Studio will be networked download gradle-2.2.1-all.zip this thing, simply download not down ...

Workaround: Download the offline package ~

First, check the version of the desired offline package and find the C:\Users\king\.gradle\wrapper\dists\ Gradle-x.x.x-all This folder, x.x.x is the corresponding version number, such as 2.2.1, then the corresponding download Gradle-2.2.1-all.zip.

: Gradle.zip (album) each version

Then put the downloaded zip package into the C:\Users\king\.gradle\wrapper\dists\gradle-x.x.x-all\c64ydeuardnfqctvr1gm30w53 directory and restart Android Studio will automatically unpack or click the Sync Project Gradle Files directly on the Android Studio toolbar.

Android Studio has been in the building "XXX" Gradle Project Info solution when creating/importing projects

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.