新建项目卡在
怎么解决? 电脑已经用pac出墙了
不要复制,网上的方法试过了,不对
阿神2017-04-17 17:32:06
Stop this build and enter
in the root directory of the project (I use the linux command here, windows is similar)
./gradlew build --info --debug --stacktrace
Look at the log, the error items are in the log, just eliminate them
ringa_lee2017-04-17 17:32:06
I will also encounter this problem. I personally think it is a network problem. After all, FQ is not that stable. My solution is to stop AS and restart it. Then wait patiently.
PHPz2017-04-17 17:32:06
Will new projects get stuck here?
You should actually download the TestCompile class library in the dependency here. Just open Build.Gradle and kill that library.
PHPz2017-04-17 17:32:06
1. A certain dependency cannot be downloaded
2. In the root directory of your project, execute gradlew (use gradlew.bat under windows) build -i
3. Check the log and see See what errors are reported