I am trying to develop my first react-native Android
app. When I run
sudo react-native run-android
I get the following error
What helped me - I've just removed all installed SDK Platforms and SDK tools using Android SDK Tool
And Run build again and Android Studio found what it should install and where. If you will follow this instruction - make sure you are running Android Studio with enough permissions to install everything.
Have fun with this issue! Hope it will help you