解决Unable to resolve dependency for ‘:[email protected]/compileClasspath’: Could not resolve com.android.supp
图片是https://blog.csdn.net/csdn2314/article/details/79946586 我的解决了 没有保存图片

我在百度SCDN上找了很多这个解决的办法都没用,然后再
https://blog.csdn.net/u012721519/article/details/51042335在篇文章看到的时候没有jie包
解决Unable to resolve dependency for ‘:[email protected]/compileClasspath’: Could not resolve com.android.supp
这个文件夹 就是CDK所在的文件夹(我的是F盘 ,默认C盘)
然后打开项目下的build.gradle(Module:app)文件在dependencise下面第二行 implementation ‘com.android.support:appcompat-v7:29.+’ 这里对比一下 这里显示存在于上述文件夹。如果没有吧-v7:后面的改成上述文件夹内有的 buied下应该可以解决。

我的原因是我下载API29但是没有自动下载相应的jre包,我改完再次重新新建还是刚才的错误,然后卸载api29,重新新建完美解决。

相关文章:

  • 2021-03-30
  • 2021-08-13
  • 2021-04-22
  • 2021-12-31
  • 2021-10-28
  • 2021-12-23
  • 2021-04-05
  • 2021-06-17
猜你喜欢
  • 2021-07-10
  • 2021-10-09
  • 2021-07-12
  • 2022-01-11
  • 2021-05-20
相关资源
相似解决方案