【发布时间】:2019-02-01 18:06:37
【问题描述】:
我在构建我的应用程序时收到此 gradle 错误:
无法解析 ':app@debug/compileClasspath' 的依赖关系:无法解析 com.squareup.okhttp3:okhttp:3.12.0。
在我的 app.gradle 依赖代码中 here is the image screenshot of the app.gradle file
buildgradle 文件
这里是 gradle 文件代码
【问题讨论】:
-
请花一些时间阅读帮助页面,尤其是名为What topics can I ask about here? 和What types of questions should I avoid asking?. 的部分也请使用the tour 并阅读有关how to ask good questions. 的信息
-
LogCat 运行后出现什么错误
-
没有互联网连接。
-
检查哪些事情可能会导致 gradle 尝试与服务器通信时出现问题。如果您使用代理禁用它们然后再试一次。确保您的互联网对 google 和 jcenter 服务器没有限制
标签: android build.gradle