原因是 jcenter 在 2021.05 停止服务了。
修改顶层的 build.gradle
在每个 jcenter()
上面增加一行 mavenCentral()
修改 app 目录下的 build.gradle
把 implementation 'com.gu.android:toolargetool:0.2.1@aar'
改为 implementation 'com.gu.android:toolargetool:0.3.0@aar'
参考:
http://5.9.10.113/67450126/android-project-build-failing-after-bintray-sunset https://www.5axxw.com/questions/content/hm6zjg