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

Posted 安果移不动

tags:

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

com.android.tools.build:gradle

版本低于7.0.3

classpath 'com.android.tools.build:gradle:4.2.2'

and 这个文件低于7.0.2的时候会出现

distributionUrl=https\\://services.gradle.org/distributions/gradle-6.7.1-all.zip

会出现这个问题

不过问题大不。。

方案1

删除:

       buildToolsVersion '31.0.0'

方案2 升级到如上版本 

classpath 'com.android.tools.build:gradle:7.0.3'
distributionUrl=https\\://services.gradle.org/distributions/gradle-7.0.2-all.zip

以上是关于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 )