-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. #178
Comments
I've just did a fresh clone of the repo, MBPro M1 / Ventura / node v16.13.2 / Android Studio 2021.3.1 Emulator running a Nexus 7 (2012) API 31 May I have more details about your setup? Can you try reinstalling the build tools through the sdk manager as suggested in the exception message? |
Thanks, @aguycalled so sorry I did not mention that I got it working with some hacks, but I still doubt it. I will appreciate your help immensely! Yes, I did try to install from the terminal and SDK tools, none of it worked. Based on the error posted above, I used this solution:
Also, I got another error with reanimated and expo-modules, which I resolved by adding this to
So, this is what my
Works on:
Android Studio 2022.1.1 Thanks for the help. |
thanks, I will test and add your patch to about the sdk issue, it seems related to your local sdk environment, since a fresh repo clone works for me. I am not sure if I'd be able to help about it |
Thanks for the response @aguycalled |
@aguycalled can this issue be closed now or left open until you test and add a patch? |
I am getting this error when I run the command: npm run android
I have tried compiling with different SDK but still doesn't work. Also, on uninstalling the Build Tools Version 31.0.0 the error still persist
OS Spec
MacBook Pro
Intel Core i9
macOS Ventura
NodeJs - 14.17.0
The text was updated successfully, but these errors were encountered: