File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,13 @@ unzip -d sdk "$ANDROID_SDK_ARCHIVE"
2727
2828case " $1 " in
2929 arm | armv7)
30- abi=armeabi-v7a
30+ version=" android-24"
31+ abi=" armeabi-v7a"
3132 ;;
3233
3334 aarch64)
34- abi=arm64-v8a
35+ version=" android-31"
36+ abi=" arm64-v8a"
3537 ;;
3638
3739 i686)
@@ -60,10 +62,10 @@ yes | "$ANDROID_SDK_BIN/sdkmanager" --licenses --no_https
6062yes | " $ANDROID_SDK_BIN /sdkmanager" --no_https \
6163 " emulator" \
6264 " platform-tools" \
63- " platforms;android-24 " \
64- " system-images;android-24 ;default;$abi "
65+ " platforms;$version " \
66+ " system-images;$version ;default;$abi "
6567
6668echo " no" |
6769 " $ANDROID_SDK_BIN /avdmanager" create avd \
6870 --name " ${1} " \
69- --package " system-images;android-24 ;default;$abi "
71+ --package " system-images;$version ;default;$abi "
You can’t perform that action at this time.
0 commit comments