Could not find any version that matches com.android.support:appcompat-v7:29.+.
Versions that do not match:
26.0.0-alpha1
25.3.1
25.3.0
25.2.0
25.1.1
+ 50 more
Searched in the following locations:
file:/F:/androidSDK/extras/m2repository/com/android/support/appcompat-v7/maven-metadata.xml
file:/F:/androidSDK/extras/m2repository/com/android/support/appcompat-v7/
file:/F:/androidSDK/extras/google/m2repository/com/android/support/appcompat-v7/maven-metadata.xml
file:/F:/androidSDK/extras/google/m2repository/com/android/support/appcompat-v7/
file:/F:/androidSDK/extras/android/m2repository/com/android/support/appcompat-v7/maven-metadata.xml
https://dl.google.com/dl/android/maven2/com/android/support/appcompat-v7/maven-metadata.xml
https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml
https://jcenter.bintray.com/com/android/support/appcompat-v7/
Required by:
project :app
Please install the Android Support Repository from the Android SDK Manager.
Open Android SDK Manager
这个问题的原因有很多,解决办法也有很多,我这只是其中一个,但不一定都适用,具体问题还需具体分析。
我的结局办法就是:
去掉gradle.properties里的distributionUrl=http\\://services.gradle.org/distributions/gradle-2.13-all.zip