The specified Android SDK Build Tools version 29.0.0 is ignored , as it is below the minimum supported version 30.0.2 for Android Gradle Plugin 4.2.1
问题
The specified Android SDK Build Tools version (29.0.0) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.1.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.0'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
分析解决
我的插件版本是4.2.1
gradle版本是
所以buildtools版本最低是30.0.2
将 buildToolsVersion 改成 “30.0.2” 重新build即可。
扩展知识
插件版本 | 最低Gradle版本 | SDK BuildTools | JDK | NDK | 最低Kotlin版本 |
---|---|---|---|---|---|
7.3.0 | 7.4 | 30.0.3~33 | 11 | 23.1.7779620 | 1.5.20 |
7.2.0 | 7.3.3 | 30.0.3 | 11 | 21.4.7075529 | |
7.1.0 | 7.2 | 30.0.3 | 11 | 21.4.7075529 | |
7.0.1 | 7.0.2 | 30.0.2 | 11 | 21.4.7075529 | |
4.2.0 | 6.7.1 | 30.0.2 | 21.4.7075529 | ||
4.1.0 | 6.5 | 29.0.2 | 21.1.6352462 | ||
4.0.0 | 6.1.1 | 29.0.2 | |||
3.6.2 | 5.6.4 | 28.0.3 | |||
3.5.0 | 5.4.1 | 28.0.3 | |||
3.4.0 | 5.1.1 | 28.0.3 | |||
3.3.0 | 4.10.1 | 28.0.3 | |||
3.2.0 | 4.6 | 28.0.3 | |||
3.1.0 | 4.4 | 27.0.3 | |||
3.0.0 | 4.1 | 26.0.2 | |||
2.3.0 | 3.3 | 25.0.0 | |||
2.2.0 | 2.14.1 | 23.0.2 | |||
2.1.0 | 2.10 | 23.0.2 | |||
2.0.0 | 2.10 | 21.1.1 |