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"
27
27
28
28
case " $1 " in
29
29
arm | armv7)
30
- abi=armeabi-v7a
30
+ version=" android-24"
31
+ abi=" armeabi-v7a"
31
32
;;
32
33
33
34
aarch64)
34
- abi=arm64-v8a
35
+ version=" android-31"
36
+ abi=" arm64-v8a"
35
37
;;
36
38
37
39
i686)
@@ -60,10 +62,10 @@ yes | "$ANDROID_SDK_BIN/sdkmanager" --licenses --no_https
60
62
yes | " $ANDROID_SDK_BIN /sdkmanager" --no_https \
61
63
" emulator" \
62
64
" platform-tools" \
63
- " platforms;android-24 " \
64
- " system-images;android-24 ;default;$abi "
65
+ " platforms;$version " \
66
+ " system-images;$version ;default;$abi "
65
67
66
68
echo " no" |
67
69
" $ANDROID_SDK_BIN /avdmanager" create avd \
68
70
--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