当前位置:   article > 正文

Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager._the specified android sdk build tools version (30.

the specified android sdk build tools version (30.0.0) is ignored, as it is

存在的问题

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"
    }
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

降低版本号:

compileSdkVersion 30
buildToolsVersion "30.0.0"
targetSdkVersion 30
  • 1
  • 2
  • 3

继续报错

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.
  • 1
  • 2

按照提示修改为30.0.2

compileSdkVersion 30
buildToolsVersion "30.0.2"
targetSdkVersion 30
  • 1
  • 2
  • 3
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/796526
推荐阅读
相关标签
  

闽ICP备14008679号