陆L-Android 2015-04-08 03:08 采纳率: 66.7%
浏览 16707

android 中External Libraries中添加出问题

Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugCompile'.
Could not resolve com.alibaba:fastjson:1.1.45.android.
Required by:
AdManager:app:unspecified
> Could not GET 'https://jcenter.bintray.com/com/alibaba/fastjson/1.1.45.android/fastjson-1.1.45.android.pom'. Received status code 403 from server: Forbidden
Could not resolve com.loopj.android:android-async-http:1.4.6.
Required by:
AdManager:app:unspecified
> Could not GET 'https://jcenter.bintray.com/com/loopj/android/android-async-http/1.4.6/android-async-http-1.4.6.pom'. Received status code 403 from server: Forbidden

  • 写回答

3条回答 默认 最新

  • 永远的银灵子 2015-04-08 08:59
    关注

    你的项目中用到了 fastjson 和 com.loopj.android:android-async-http:1.4.6.
    但是由于墙的原因,Android 没法从 jcenter 中获取到,所以肯定编译报错了
    自己去下载需要的jar然后导入项目中吧,另外估计还得修改下build.grade 文件

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog