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

1.最近新建的AndroidStudio项目出现了这个错误,Could not find any version that matches com.android.support:appcompat-v7:29.+.很是无奈。

解决方法为:

       AndroidStudio中Could not find any version that matches com.android.support:appcompat-v7:29.+._第1张图片

   将红框里的东西改为 --> implementation 'com.android.support:appcompat-v7:+' 即可。

 

参考链接:https://blog.csdn.net/hai1124948893/article/details/85247737

--------------------------------------------------------------------------------------------------------------------------------------------------------

2.

哈喽,我又来更新了。

Aapt2Exception: AAPT2 error: check logs for details   这个问题怎么搞?

解决方法:

一、更新到最新的版本

classpath 'com.android.tools.build:gradle:3.2.1'

二、检查自己的路径是否含有中文,(本人在装系统的时候,账户名称用的中文,个人习惯。)

AndroidStudio中Could not find any version that matches com.android.support:appcompat-v7:29.+._第2张图片

 

 

大家可以试试。

如果上面的方法没有让你修改成功的话,那就给你们一个参考链接:

https://blog.csdn.net/u011618035/article/details/80574645

 

你可能感兴趣的:(android)