1. 程式人生 > >Android Gradle plugin與Gradle 版本對應問題

Android Gradle plugin與Gradle 版本對應問題

本文主要是引用google官方網站的內容,僅此做個記錄或者筆記,做個問題歸類!
https://developer.android.google.cn/studio/releases/gradle-plugin.html#
在這邊文章中,寫了關於android的Gradle外掛與Gradle版本的對應問題。具體如下:
The following table lists which version of Gradle is required for each version of the Android plugin for Gradle. For the best performance, you should use the latest possible version of both Gradle and the Android plugin.
這裡寫圖片描述

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 3.3 in the gradle-wrapper.properties file.

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

Revisions
For a summary of known issues in Android plugin for Gradle, see the Known Issues page.