Gradle: Added ANDROID_HOME sdk check

#1645 #1637