Please follow the steps below, this works for me:
- Go to your own Response project, then go to the Android directory. Create a file with that name.
local.properties
- Open the file and paste the path to the Android SDK as shown below:
For Windows users:
sdk.dir=C\:\\Users\\UserName\\AppData\\Local\\Android\\sdk
Replace UserName with your computer name. Also make sure the folder is an SDK or SDK. In my case, my computerβs username is Zahid, so the path looks like this:
sdk.dir=C\:\\Users\\Zahid\\AppData\\Local\\Android\\sdk
For Mac users:
sdk.dir = /Users/USERNAME/Library/Android/sdk
Where USERNAME is your OSX username
For Linux (Ubuntu) users:
sdk.dir = /home/USERNAME/Android/Sdk
Where USERNAME is your Linux username (Linux paths are case sensitive: make sure the S case in Sdk same)
If this does not work, add the ANDROID_HOME variable to the "Environment Variables" as C:\Users\USER\AppData\Local\Android\Sdk

Hoque MD Zahidul Jan 08 '18 at 18:09 2018-01-08 18:09
source share