diff --git a/scripts/android-setup.sh b/scripts/android-setup.sh index 66b6e692a91255..203889eeb4c702 100755 --- a/scripts/android-setup.sh +++ b/scripts/android-setup.sh @@ -49,7 +49,7 @@ function getAndroidNDK { } function createAVD { - AVD_PACKAGES="system-images;android-$ANDROID_SDK_TARGET_API_LEVEL;google_apis;$AVD_ABI" + AVD_PACKAGES="system-images;android-$ANDROID_SDK_MIN_API_LEVEL;google_apis;$AVD_ABI" echo "Creating AVD with packages $AVD_PACKAGES" echo no | avdmanager create avd --name "$AVD_NAME" --force --package "$AVD_PACKAGES" --tag google_apis --abi "$AVD_ABI" }