I am a little confused why I am getting this message when the ANDROID_HOME environment variable is actually set.
It is also set in project defaults:
I am probably missing something trivial here, but not sure what. Thanks
Check your local.properties file
If sdk.dir="Your sdk path" is not available in the file. Please add it and try.