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.