Android Studio 指定的Android SDK生成工具版本將被忽略,因爲它低於Android Gradle插件支持的最低版本

我遇到的原問題是:The specified Android SDK Build Tools version (26.0.3) is ignored, as it is below the minimum supported version (28.0.2) for Android Gradle Plugin 3.2.0.
Android SDK Build Tools 28.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '26.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

解決方法:從build.gradle文件中刪除“build tools version”26.0.3“,

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章