gradle problems

  • First check android studiothe folder under the installation directory gradle, if your gradle-2.10folder has been deleted, go to http://gradle.android-studio.org/ to download a new one and put it in this directory.

  • Then enter the settingssearch gradleand modify Gradle homeit to the downloaded gradle-2.10directory.

  • Finally modify gradle/gradle-wrapper.propertiesthe properties of the file in the project distributionUrl(eg distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip), and build.gradlethe version in the file gradle, recompile, everything is OK

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326359469&siteId=291194637