Error:Failed to resolve: com.android.support:support-annotations:27.0.0

Posted TaoLee-

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error:Failed to resolve: com.android.support:support-annotations:27.0.0相关的知识,希望对你有一定的参考价值。

在项目的build.gradle里面最外层添加

configurations.all   
    resolutionStrategy.force 'com.android.support:support-annotations:23.1.0'  
 

使用指定版本的support-annotations

以上是关于Error:Failed to resolve: com.android.support:support-annotations:27.0.0的主要内容,如果未能解决你的问题,请参考以下文章