Error:Could not find common.jar (android.arch.core:common:1.0.0). Searched in the following l...

Error:Could not find common.jar (android.arch.core:common:1.0.0).

Searched in the following locations:

https://jcenter.bintray.com/android/arch/core/common/1.0.0/common-1.0.0.jar



据说这个是Google最近的一个bug,解决方案是:

将 依赖包中的“+”改成响应的版本号。问题就可以解决。具体版本号如下。

API 24:

implementation 'com.android.support:appcompat-v7:24.2.1'

implementation 'com.android.support:recyclerview-v7:24.2.1'

API 25:

implementation 'com.android.support:appcompat-v7:25.4.0'

implementation 'com.android.support:recyclerview-v7:25.4.0'

API 26:

implementation 'com.android.support:appcompat-v7:26.1.0'

implementation 'com.android.support:recyclerview-v7:26.1.0'

API 27:

implementation 'com.android.support:appcompat-v7:27.1.1'

implementation 'com.android.support:recyclerview-v7:27.1.1'

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    wgl0419阅读 6,354评论 1 9
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,522评论 2 45
  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 173,264评论 25 708
  • 这两天的梦都很奇特,但总算再没有梦到你,果然逼着自己不去看不去想,心情也好翻来好多。 目前在找着室友,尽量合理的安...
    猪悟能阅读 156评论 0 0