版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xzytl60937234/article/details/83867997
android项目
在项目添加依赖后同步时出现了这个错误
Error:Failed to resolve: com.android.support:support-annotations:27.1.0
但是在导入之前,项目运行问题,于是决定问题可能是这个类库导致的,
查找了相同类库的使用文章,把类库换成文章中的倒入语句,
比我使用的类库版本要低
androidStudio更新插件引起的一系列 Failed to resolve: com.android.support:support-annotations:27.1.0
报错,终其原因是因为导包的问题,打开 dependency 删除第三方类库,重新导入依赖,重新编译,不在报错