Adding the ability to dynamically specify the Android device

This commit is contained in:
Halim Qarroum
2023-03-05 01:08:33 +00:00
parent e9d2a6de7a
commit 087f36c833
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ export USER=root
# Creating the Android Virtual Emulator.
echo "Creating the Android Virtual Emulator ..."
echo "Using '$PACKAGE_PATH' and '$ABI' for creating the emulator"
echo no | avdmanager create avd -n android --abi "${ABI}" -k "$PACKAGE_PATH" --device "pixel"
echo "Using package '$PACKAGE_PATH', ABI '$ABI' and device '$DEVICE_ID' for creating the emulator"
echo no | avdmanager create avd -n android --abi "$ABI" -k "$PACKAGE_PATH" --device "$DEVICE_ID"
# Asynchronously write updates on the standard output
# about the state of the boot sequence.