'React Native can't find proper Android SDK version

I'm having issues getting Android to build with React Native on my M1 mac. npx react-native doctor shows the following: doctor output

But when I look in Android Studio, it shows that 30 is installed. android studio image

What can I do to target 30.0.2? I've tried updating all the sdks in Android Studio and using the f and e commands in doctor to fix the errors but nothing seems to work.



Solution 1:[1]

I'll leave it up in case any one else hits this. You need to go to SDK Manager > SDK Tools > Show package details, then install the proper version under Android SDK Build tools. enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Adam