Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager

Posted 彭老希

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager相关的知识,希望对你有一定的参考价值。

一、异常说明

Andorid Studio 安装后,模拟器启动失败,报错为:

Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager.

已安装的构建工具修订版32.0.0已损坏。 使用SDK管理器删除并重新安装

二、解决方案

方案一:

1.打开SDK Manager;
2.取消API32前的勾选后Apply。
3.重新选择需要的API,勾选后Apply。

方案二:

如果已经下载好需要的API,在Moudle级build.gradle中修改SDK版本即可

android 
    compileSdkVersion 29
    buildToolsVersion "29.0.0"

    defaultConfig 
        applicationId "com.example.xxxx"
        minSdkVersion 16
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    

具体如上,共修改 compileSdkVersion、buildToolsVersion、targetSdkVersion 三处

以上是关于Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager的主要内容,如果未能解决你的问题,请参考以下文章