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

Solution:

For Windows:

  1. Close the Android Studio.
  2. Go to the location "C:\Users\user\AppData\Local\Android\Sdk\build-tools\31.0.0"
  3. Find a file named d8.bat. This is a Windows batch file.
  4. Rename d8.bat to dx.bat.
  5. In the folder lib ("C:\Users\user\AppData\Local\Android\Sdk\build-tools\31.0.0\lib")
  6. Rename d8.jar to dx.jar

Note: Remember AppData is a hidden folder. Turn on hidden items to see the AppData folder.

← Back to Home

Comments

Post a Comment