“`
Error:Could not find com.android.support:appcompat-v7:25.3.1.
Required by:
cashking:app:unspecified
cashking:app:unspecified > cashking:pull_refresh_library:unspecified

Please install the Android Support Repository from the Android SDK Manager.“`

项目中并没有引用25.3.1但是报错,因为引入的第三方包的问题,于是就下载了api25(android 7.1.1)的sdk,一直下不下来。于是换了一种方式:Error:Could not find com.android.support:appcompat-v7:25.3.1.
在build.gradle之中加入这个就好了,是在项目的外层gradle中加的。

ps:我后面看的时候发现25的sdk也下载下来了,我也不确定是用的哪一种了,两种方式都试一下吧。

相关文章:

  • 2021-07-16
  • 2022-01-17
  • 2021-04-29
  • 2022-02-11
  • 2021-07-01
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2021-08-08
  • 2022-12-23
  • 2021-04-18
  • 2021-05-08
  • 2021-08-10
  • 2021-10-14
相关资源
相似解决方案