其他分享
首页 > 其他分享> > 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.

作者:互联网

原因:SDK构建工具31缺少2个文件,dx.batdx.jar

1 修改d8.bat 为 dx.bat

1.C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools\31.0.0

在这里插入图片描述

2 修改d8.jar 为 dx.jar

1.C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools\31.0.0\lib

在这里插入图片描述

 然后重启项目即可

 

标签:again,bat,corrupted,AppData,jar,Manager,31.0,dx,Sdk
来源: https://blog.csdn.net/qq_58156721/article/details/120782702