ANDROID_HOME should be coming from the env, and it wasn't: it was being set in the script.
Attach a file by drag & drop or click to upload