问题:

今天新安装android studio3.1.2,之后创建新的工程,但是出现了一些错误提示,提示如下:

Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.

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

分析发现,就是版本不匹配的问题。

解决:

将build.gradle(Module:app)内容做一定修改后就好了

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

修改后重新 sync即可。

相关文章: