简体   繁体   中英

Error running Android Studio - “Could not find com.android.tools.build:gradle:3.2.1”

I have a problem running Android Studio 3.1.0

Error message:

Could not find com.android.tools.build:gradle:3.2.1.
Searched in the following locations
com.android.tools.build:gradle:3.1.2

代替

com.android.tools.build:gradle:3.2.1

The Gradle wrapper is what you're looking for. You can change the wrapper's settings in your project's gradle/wrapper/gradle-wrapper.properties file.

Change

distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

to

distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM