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

Posted 振华OPPO

tags:

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

报错信息

大致含义就是:已安装的版本为31.0.0的构建工具已经损坏,移除并重新安装这个SDK。

报错原因

这是我同学新建项目的build.gradle文件的内容,他是重装了android Studio之后新建项目点运行然后出现这个报错的,所以我帮忙解决了并且记录一下,报错原因就在于API为31的SDK属实拉胯。

解决方法

1、打开SDK Manager,出现如下界面

2、然后将31的选项前面勾去掉,再点击Apply。

3、AS会提醒你这些组件将被删除,点击OK。

4、卸载完成后,31属实不稳定,我们选择API Level为30的SDK,勾选前面的框,然后Apply,出现下面的提示框,再点击OK。

5、我们再次运行项目,发现可以正常运行了。成功解决!

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

Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager解决

Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager解决

Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager解决

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

错误记录Android 编译报错 ( Installed Build Tools revision 31.0.0 is corrupted. Remove and install again )

错误记录Android Studio 编译报错 ( Installed Build Tools revision 31.0.0 is corrupted )