导入新项目时报了这个错

先贴出完整的错误

Could not find support-compat.aar (com.android.support:support-compat:26.0.1).
Searched in the following locations:

    https://jcenter.bintray.com/com/android/support/support-compat/26.0.1/support-compat-26.0.1.aar

Please install the Android Support Repository from the Android SDK Manager.
Open Android SDK Manager

 第二次出现这个错了,第一次出错改了我好久,这次又出现这个错,我居然还差点记不起来了,还是得记录一下,不能在同一个地方跌倒三次

网上查了一大堆,都没有改好

我使用的方式是修改gradle为本地的版本,就OK了

以下是修改步骤

Could not find support-compat.aar (com.android.support:support-compat:26.0.1)

Could not find support-compat.aar (com.android.support:support-compat:26.0.1)

 

 

相关文章:

  • 2021-07-25
  • 2022-12-23
  • 2021-12-29
  • 2022-01-21
  • 2021-11-05
  • 2021-12-22
  • 2021-12-20
猜你喜欢
  • 2021-08-30
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2021-08-16
相关资源
相似解决方案