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().
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().
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