Remove and install again using the SDK Manager.
使用33.0.2及以上版本的build-tools编译Android应用时。
有些人会按照提示去SDK Manager中重新安装build tools,然后发现这样做是无用的
编译时会收到:Build-tool 33.0.2 is missing DX at D:\Sdk\build-tools\33.0.2\dx.bat
解决方案:
d8.bat
,将文件名修改为dx.bat
。lib/d8.jar
,将文件名修改为dx.jar
。