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的主要内容,如果未能解决你的问题,请参考以下文章

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

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

(转)Android Studio Error:Failed to resolve: com.android.support:appcompat-v7:25.1.0解决方案

error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/

Git上传提示error: failed to push some refs to

安装Intel HAXM:"failed to configure driver unknown error. failed to open driver"