Add JAVA_HOME and ANDROID_HOME.