[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:


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:


Leave a Comment

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