Gradle: Added ANDROID_HOME sdk check

#1645