由于配置可用的仓库地址仍然下载不了需要的jar,怀疑设置了不可用代理导致网络不通,打开gradle.properties,里面确实设置了proxy,注销掉即可正常下载。

Unable to resolve dependency for ':@debug/compileClasspath' || Could not download *.jar

若是像Could not download junit.jar (junit:junit:4.12)报错,是因为被墙,加上mavenCentral()

Unable to resolve dependency for ':@debug/compileClasspath' || Could not download *.jar

相关文章:

  • 2021-07-10
  • 2021-10-09
  • 2021-07-12
  • 2021-07-09
  • 2021-03-30
  • 2021-05-20
猜你喜欢
  • 2021-08-13
  • 2022-12-23
  • 2021-12-23
  • 2021-04-05
  • 2021-07-29
  • 2021-08-24
  • 2022-12-23
相关资源
相似解决方案