React Native, Mac M1 - SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable
At times, you might believe that the ANDROID_HOME value has been correctly set up in the system environment, yet you encounter an error during the build process. To resolve this issue, simply adjust the environment value in the eas.json file, which is incorporated during the build execution. This should rectify the problem.