Android Studio Error: Installed Build Tools revision 35.0.1 is corrupted. Remove and install again using the SDK Manager.
Solution:
For Windows:
- Close the Android Studio.
- Go to the location "C:\Users\user\AppData\Local\Android\Sdk\build-tools\31.0.0"
- Find a file named d8.bat. This is a Windows batch file.
- Rename d8.bat to dx.bat.
- In the folder lib ("C:\Users\user\AppData\Local\Android\Sdk\build-tools\31.0.0\lib")
- Rename d8.jar to dx.jar
Note: Remember AppData is a hidden folder. Turn on hidden items to see the AppData folder.
Comments
Post a Comment