SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project’s local properties file at – react native error. How to fix ?
As the error suggests we need to create local.properties inside the android directory of your react native app and add your android sdk directory property.
I’m using Ubuntu, hence my local.properties would look like:
sdk.dir = /home/anand/Android/Sdk
Leave a Reply