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