When Android studio imported the project, it was stuck in building Gradle project info, mainly because of the wall results. Gradle official Website Although can visit, but speed even snail are not catch ...
There are two main solutions, one is to download the Gradle offline package directly, and the other is to modify the Gradle version of the project gradle-wrapper.properties the existing version of the computer.
Offline Package Download Import method
View desired Gradle version: Open C:\Users\ user name \.gradle\wrapper\dists\gradle-x.xx-all\xxxxxxxxxxxx, If the gradle-xx-all.zip is incomplete (such as 0KB), then the download is unsuccessful and you need to download the offline package to place it in the directory. As shown below
Then, you need to download gradle-2.8-all.zip. Gradle each version of the offline package: http://download.csdn.net/album/detail/2265
After the import is complete, it is automatically decompressed after running as, as follows. Re-open the project to be able to ~ ~
Modify Gradle-wrapper.properties Mode
1. Find an as project you can run before
2. Open the project's/gradle/wrapper/gradle-wrapper.properties file
3, copy the last line distributionurl this whole line of content, for example: distributionurl=https\://services.gradle.org/distributions/ Gradle-2.8-all.zip, replace it with the Gradle-wrapper.properties file in the project you want to import.
4. Restart Android Studio to re-import the project.
Issue succinct--android: When you resolve a new project in studio, Building Gradle project info stays stuck