美文网首页
Android studio Gradle版本和插件版本对应关系

Android studio Gradle版本和插件版本对应关系

作者: breaktian | 来源:发表于2019-03-29 14:40 被阅读0次

    Update Gradle
    When you update Android Studio, you may receive a prompt to also update Gradle to the latest available version. You can choose to accept the update or manually specify a version based on your project's build requirements.

    The following table lists which version of Gradle is required for each version of the Android Gradle plugin. For the best performance, you should use the latest possible version of both Gradle and the plugin.

    Plugin version Required Gradle version


    image.png

    You can specify the Gradle version in either the File > Project Structure > Project menu in Android Studio, or by editing the Gradle distribution reference in the gradle/wrapper/gradle-wrapper.properties file. The following example sets the Gradle version to 4.10.1 in the gradle-wrapper.properties file.

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

    相关文章

      网友评论

          本文标题:Android studio Gradle版本和插件版本对应关系

          本文链接:https://www.haomeiwen.com/subject/txmlbqtx.html