1、安装教程
参考链接:https://blog.csdn.net/qq_29424323/article/details/87386029
2、报错
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
3.解决方案
参考链接:https://blog.csdn.net/qq_27061049/article/details/93091339
打开build.gradle文件,将implementation 'com.android.support:appcompat-v7:29.+'修改成implementation ‘com.android.support:appcompat-v7:+’