Android更新了BuildTools后报错Installed Build Tools revision 32.0.0 is corrupted. Remove and install again

通过Android studio的SDK Manager重新下载的build-tools\32.0.0版本是缺少dx.bat文件和lib\dx.jar文件,所以将build-tools\30.0.0版本的dx.bat和dx.jar分别拷贝一份到build-tools\32.0.0对应的目录下即可

解决方案,注意是对应路径

将androidSdk\build-tools\30.0.0\dx.bat 拷贝一份到 androidSdk\build-tools\32.0.0\dx.bat

将androidSdk\build-tools\30.0.0\lib\dx.jar 拷贝一份到 androidSdk\build-tools\32.0.0\lib\dx.jar

你可能感兴趣的:(android,android,studio,java)