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

Error:Failed to resolve: com.android.support:support-annotations:26.0.2
Install Repository and sync project

类似这样的问题,其实是因为从25.4.0的时候,已经更换下载网站了
添加
maven { url “https://maven.google.com“}
maven { url “https://dl.google.com/dl/android/maven2/“}
即可

    原文作者:qq名长是因为你没给我备注
    原文地址: https://www.jianshu.com/p/156250cfcfb6
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞