我刚从git上下载了一个Android项目,但每次尝试打开它时,Android Studio都会给我以下错误提示;
Error:Could not find com.android.tools.build:gradle:2.2.0-alpha6.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0-alpha6/gradle-2.2.0-alpha6.pom
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0-alpha6/gradle-2.2.0-alpha6.jar
https://maven.fabric.io/public/com/android/tools/build/gradle/2.2.0-alpha6/gradle-2.2.0-alpha6.pom
https://maven.fabric.io/public/com/android/tools/build/gradle/2.2.0-alpha6/gradle-2.2.0-alpha6.jar
Required by:
newApp_Android:app:unspecified
我已在本地安装了Gradle,并通过系统设置环境路径。在“项目结构/项目”下,使用以下设置;Gradle Version : 2.10
Android Plugin Version : 2.2.0-alpha6
Android Plugin Repository : jcenter
Default Library Repository : jcenter
有人能指点我一下吗?