,

[Resolved] SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable

Go into your Capacitor/ Cordova/ React native project’s root folder and find android folder Inside the folder create a new file named local.properties Open the file and paste the following content in it, path of the SDK folder, which will look like this: sdk.dir=C:\\Users\\Lenovo\\AppData\\Local\\Android\\Sdk Note: Your system must have installed the Android studio or SDK…

By.

•

min read

Go into your Capacitor/ Cordova/ React native project’s root folder and find android folder

Inside the folder create a new file named local.properties

Open the file and paste the following content in it, path of the SDK folder, which will look like this:

sdk.dir=C:\\Users\\Lenovo\\AppData\\Local\\Android\\Sdk

Note: Your system must have installed the Android studio or SDK Manager tools.

Note 2: You can find your SDK path by hitting the following path in your Folder winodow:

C:\Users\%USERNAME%\AppData\Local\Android

Leave a Reply

Your email address will not be published. Required fields are marked *