Add path of ANDROID_HOME, set version of java to 8.