File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ unzip -q ${NDK}-linux-x86_64.zip
18
18
case " $1 " in
19
19
arm)
20
20
arch=arm
21
- api=25
21
+ api=24
22
22
;;
23
23
armv7)
24
24
arch=arm
25
- api=25
25
+ api=24
26
26
;;
27
27
aarch64)
28
28
arch=arm64
29
- api=25
29
+ api=24
30
30
;;
31
31
i686)
32
32
arch=x86
Original file line number Diff line number Diff line change @@ -19,28 +19,27 @@ set -ex
19
19
# which apparently magically accepts the licenses.
20
20
21
21
SDK=4333796
22
- API=25
23
22
mkdir sdk
24
23
curl --retry 10 https://dl.google.com/android/repository/sdk-tools-linux-${SDK} .zip -O
25
24
unzip -q -d sdk sdk-tools-linux-${SDK} .zip
26
25
27
26
case " $1 " in
28
27
arm | armv7)
29
- image=" system-images;android-25;google_apis;armeabi-v7a"
28
+ api=24
29
+ image=" system-images;android-${api} ;google_apis;armeabi-v7a"
30
30
;;
31
-
32
31
aarch64)
33
- image=" system-images;android-25;google_apis;arm64-v8a"
32
+ api=24
33
+ image=" system-images;android-${api} ;google_apis;arm64-v8a"
34
34
;;
35
-
36
35
i686)
37
- image=" system-images;android-28;default;x86"
36
+ api=28
37
+ image=" system-images;android-${api} ;default;x86"
38
38
;;
39
-
40
39
x86_64)
41
- image=" system-images;android-28;default;x86_64"
40
+ api=28
41
+ image=" system-images;android-${api} ;default;x86_64"
42
42
;;
43
-
44
43
* )
45
44
echo " invalid arch: $1 "
46
45
exit 1
@@ -65,7 +64,7 @@ yes | ./sdk/tools/bin/sdkmanager --licenses --no_https | grep -v = || true
65
64
yes | ./sdk/tools/bin/sdkmanager --no_https \
66
65
" emulator" \
67
66
" platform-tools" \
68
- " platforms;android-${API } " \
67
+ " platforms;android-${api } " \
69
68
" ${image} " | grep -v = || true
70
69
71
70
echo " no" |
You can’t perform that action at this time.
0 commit comments