fastlane-plugin-automated-test-emulator-run
fastlane-plugin-automated-test-emulator-run copied to clipboard
Use Android cmdline-tools
Are there any plans to switch to the newer Android cmdline-tools?
Currently the now deprecated SDK Tools are in use.
For now, if you have to use cmdline-tools, cause you e.g. use Java > 8, I used the following (dirty) workaround:
Override avdmanager, so it uses the new/correct one, since it'll ignore my path
- rm -f $ANDROID_HOME/tools/bin/avdmanager
- echo '$ANDROID_TOOLS/bin/avdmanager "$@"' > $ANDROID_HOME/tools/bin/avdmanager
- chmod +rwx $ANDROID_HOME/tools/bin/avdmanager It's basically replacing the deprecated avdmanager with a script, calling the new avdmanager with all parameters given to it.