-
First check
android studio
the folder under the installation directorygradle
, if yourgradle-2.10
folder has been deleted, go to http://gradle.android-studio.org/ to download a new one and put it in this directory. -
Then enter the
settings
searchgradle
and modifyGradle home
it to the downloadedgradle-2.10
directory. -
Finally modify
gradle/gradle-wrapper.properties
the properties of the file in the projectdistributionUrl
(egdistributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
), andbuild.gradle
the version in the filegradle
, recompile, everything is OK
gradle problems
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326359469&siteId=291194637
Recommended
Ranking