When I used the new build tool from expo called EAS to build my react native application locally:
eas build --platform android --local
I got an error:
SDK location not found. Define location with an ANDROID_SDK_ROOT
All the answers I've found are suggesting creating file local.properties in an android directory and setting the sdk.dir in it, this is however related to the old build tool expo build... another option is to simply define the environmental variable on the system level which I tried to avoid.
So I was wondering how to do it in some type of configuration file still local to the react native project. I found the answer by accident, so I'm sharing the knowledge below
By the way, if you're looking for where is the default build path of the final bundle - it's most likely dumped into the project root (don't forget to refresh files if you need to).