Appium code is always asking for setting ANDROID_HOME. I set it in windows environment variables but not sure whats the issue. Is there any way to check whether settings are working or not ?
Use appium-doctor and set your environment accordingly. If you are using eclipse set ANDROID_HOME in eclipse too. Right click on the class where you are running and under the run configure the environment tab with ANDROID_HOME.