From 88a309712d253f06a5b1761de1372cb21cecf6db Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 20 Mar 2021 18:41:14 +0530 Subject: [PATCH] scripts/boot_emulator: dynamically set AVD name Signed-off-by: Harsh Shandilya --- scripts/boot_emulator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/boot_emulator.sh b/scripts/boot_emulator.sh index 10e607cf..5cbd18d6 100755 --- a/scripts/boot_emulator.sh +++ b/scripts/boot_emulator.sh @@ -16,7 +16,7 @@ API_LEVEL="${ANDROID_API_LEVEL:-30}" echo no | "${ANDROID_SDK_ROOT}"/cmdline-tools/latest/bin/avdmanager create avd \ --force \ - -n Pixel_XL_API_30 \ + -n "Pixel_XL_API_${API_LEVEL}" \ --abi 'google_apis/x86' \ --package "system-images;android-${API_LEVEL};google_apis;x86" \ --device 'pixel_xl'