Android Studio ERROR: Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK Manager.

yy9110發表於2024-05-31

Android Studio

錯誤提示:
ERROR: Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK Manager.

解決辦法:

  1. 在 C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools\34.0.0 目錄中找到 d8.bat,將檔名修改為dx.bat
  2. 在 C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools\34.0.0\lib,目錄中找到 d8.jar ,將檔名修改為dx.jar

相關文章