Android Gradle plugin与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/ file. The following example sets the Gradle version to 3.3 in the file.

distributionUrl = https\://

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