search

Home  >  Q&A  >  body text

android - 新建项目卡在Gradle:Resolvedependencies':app:_debugCompile'

新建项目卡在
怎么解决? 电脑已经用pac出墙了
不要复制,网上的方法试过了,不对

大家讲道理大家讲道理2772 days ago527

reply all(5)I'll reply

  • 阿神

    阿神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

    reply
    0
  • ringa_lee

    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.

    reply
    0
  • PHPz

    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.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:32:06

    You need a good circumvention tool
    https://github.com/getlantern...

    reply
    0
  • PHPz

    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

    reply
    0
  • Cancelreply