Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
存在的问题android {compileSdkVersion 31buildToolsVersion "31.0.0"defaultConfig {applicationId "com.example.monitormemory"minSdkVersion 16targetSdkVersion 31versionCode 1versionName "1.0"tes
·
存在的问题
android {
compileSdkVersion 31
buildToolsVersion "31.0.0"
defaultConfig {
applicationId "com.example.monitormemory"
minSdkVersion 16
targetSdkVersion 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
降低版本号:
compileSdkVersion 30
buildToolsVersion "30.0.0"
targetSdkVersion 30
继续报错
The specified Android SDK Build Tools version (30.0.0) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
按照提示修改为30.0.2
compileSdkVersion 30
buildToolsVersion "30.0.2"
targetSdkVersion 30
更多推荐
已为社区贡献3条内容
所有评论(0)