Manually install Gradle and use it in Android Studio

后端 未结 17 2087
忘掉有多难
忘掉有多难 2020-12-07 11:35

I\'m using Android Studio. How can I manually install and use Gradle within Android Studio.

I\'ve downloaded Gradle from http

17条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 12:16

    Android Studio will automatically use the Gradle wrapper and pull the correct version of Gradle rather than use a locally installed version. If you wish to use a new version of Gradle, you can change the version used by studio. Beneath your Android Studio's project tree, open the file gradle/wrapper/gradle-wrapper.properties. Change this entry:

    distributionUrl=http\://services.gradle.org/distributions/gradle-2.1-all.zip

提交回复
热议问题