Home  >  Q&A  >  body text

android - as添加依赖时一直是gradle:download状态

怎么回事啊,电脑重装系统后就这样了,

PHP中文网PHP中文网2741 days ago566

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-17 17:32:32

    Mostly it is a network problem (for example, my company can access CSDN, but not in the dormitory). Just try it again. jcenter does not need to bypass the wall, and the speed is very fast. It may also be that there are more libraries and relatively big.

    You can also try either replacing jcenter() with mavenCentral() or adding it in front of jcenter().

    reply
    0
  • 黄舟

    黄舟2017-04-17 17:32:32

    1. gradlew (gradlew.bat under windows) build -i, you can know which link is stuck
    2. From my own experience, a certain dependency cannot be downloaded

    reply
    0
  • Cancelreply