React Native Notes 31: Android 13 - Installed Build Tools revision 33.0.0 is corrupted. Remove and install again using the SDK Manager
Caused by: com.android.builder.errors.EvalIssueException: Installed Build Tools revision 33.0.0 is corrupted. Remove and install again using the SDK Manager.
With Android 13, permissions are handled much better on Android. Therefore, we need to target our SDK version to 33 to use these newest features. However, as always Android Studio does not make this transition smoothly and gives us some challenges 🫠
In my experience when I upgrade buildToolsVersion the version from 31.0.0
to 33.0.0
or 33.0.1
, I got this Installed Build Tools revision 33.0.0 is corrupted
error. Even I removed the whole build-tools
and reinstall/download not worked.
I even uninstall the Android Studio but again not worked.
Solution
Go to /Users/user-name/Library/Android/sdk
on the Finder. This is for macOS. You can locate your Android SDK:
Open up the build-tools
and 33.0.0
or whichever you want to use.
Simply rename the d8
to dx
Open the lib
folder and rename the d8.jar
to dx.jar
Just to be sure, close and re-open the Android Studio and it should work as expected 🥳
That’s it!
If you’re still having the issue, please write me down I am glad to help 🥰