Answers for "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 'c:\android projects 2020\smarthealthmonitoringsystem\local.properties'."

4

SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir

1. Go to your Project -> Android
2. Create a file local.properties
3. Open the file
4. Paste your Android SDK path depending on the operating system:

4.a Windows
sdk.dir = C:/Users/USERNAME/AppData/Local/Android/sdk

4.b Linux or MacOS
sdk.dir = /home/USERNAME/Android/sdk

Replace USERNAME with your user name
Posted by: Guest on July-15-2021
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
Posted by: Guest on May-17-2021
0

mac m1 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 '/Users/dayana/workspace/mentor/Fresh-app-sdk-3-Feb_1/android/local.properties'.

Go to your React-native Project -> Android
Create a file local.properties
Open the file
paste your Android SDK path like below

in Windows sdk.dir = C:\\Users\\USERNAME\\AppData\\Local\\Android\\sdk
in macOS sdk.dir = /Users/USERNAME/Library/Android/sdk
in linux sdk.dir = /home/USERNAME/Android/Sdk
Replace USERNAME with your user name

Now, Run the react-native run-android in your terminal.
Posted by: Guest on February-09-2022

Code answers related to "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 'c:\android projects 2020\smarthealthmonitoringsystem\local.properties'."

Browse Popular Code Answers by Language