Androd Studio:Could not find any version that matches com.android.support:appcompat-v7:29.+.

问题描述:Androd Studio首次启动后,将默认JDK路径改为自己下载的JDK路径后,出现error:Could not find any version that matches com.android.support:appcompat-v7:29.+.

解决办法

(1)根据网上的方法,安装了Android Support Repository,仍然报错;

(2)然后将build.gradle(module)中的:implementation 'com.android.support:appcompat-v7:29.+'改为:implementation 'com.android.support:appcompat-v7:+',目前编译通过。有没有其他问题有待观察。

发布了10 篇原创文章 · 获赞 1 · 访问量 514

猜你喜欢

转载自blog.csdn.net/qq_41468222/article/details/100802461