解决 Failed to resolve: com.android.support:appcompat-v7 

 Failed to resolve: com.android.support:recycler

今天在开发程序的时候,新建的项目直接就运行不起来。。有这个问题。。

我的程序的解决办法是:

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

这句话。。添加在 project   目录里的 build.gradle 里面 ,具体位置是

Failed to resolve: com.android.support:appcompat-v7 Failed to resolve: com.android.support:recyclerFailed to resolve: com.android.support:appcompat-v7 Failed to resolve: com.android.support:recycler

添加完成以后。。重新 build  程序即可

相关文章:

  • 2021-10-21
  • 2021-12-15
  • 2021-12-08
  • 2021-12-31
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-30
  • 2021-11-27
  • 2022-12-23
  • 2021-07-01
  • 2021-11-27
  • 2021-07-22
相关资源
相似解决方案