Error:Could not find com.android.tools.build:gradle:2.3.3. Searched in the following locations: file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/2.3.3/

问题描述:

Error:Could not find com.android.tools.build:gradle:2.3.3.

Searched in the following locations:

file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom

file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.jar

https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom

https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.jar

Required by:

project :app

Add Google Maven repository and sync project

处理方法:maven {

url'https://maven.google.com/'

name'Google'

}

若是没有jcenter()

加上很管用

你可能感兴趣的:(Error:Could not find com.android.tools.build:gradle:2.3.3. Searched in the following locations: file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/2.3.3/)