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 'F:\Devlopment\ReactNative\ESSWeb\android\local.properties'. code example

Example 1: 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

sdk.dir = /home/USERNAME/Android/Sdk

Example 2: sdk location not found. define location with an android_sdk_root environment variable

I know this answer is late, but I hope it helps others.

The answer is simple. You have to just copy your local.properties file to the folder where project is stored and it will work like charm. But remember, it must be placed in the root folder where the project is stored.

Tags:

Misc Example