在使用过程中,弹出如下的错误提示,经过搜索资料以及实践,我把自己的实践过程整理一下分享出来。

Android Studio 出现的Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:27.+ 报错解决方案

解决方案:

第一步:打开build.gradle。

第二步:将原有的release方法注释起来,替换成

repositories { 

         maven {

                        url "https://maven.google.com"   

         }

} "

如下图:

Android Studio 出现的Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:27.+ 报错解决方案

第三步:再进行一次clean project【在Build中】就大功告成啦!

相关文章:

  • 2021-06-30
  • 2021-08-23
  • 2021-07-29
  • 2021-04-14
  • 2021-12-31
  • 2021-07-01
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2021-12-08
相关资源
相似解决方案