@@ -16,26 +16,26 @@ RUN set -x \
16
16
17
17
# Download and install android SDK
18
18
RUN set -x \
19
- && wget -O /tmp/android-26 .zip https://dl.google.com/android/repository/platform-26_r02 .zip \
19
+ && wget -O /tmp/android-30 .zip https://dl.google.com/android/repository/platform-30_r03 .zip \
20
20
&& mkdir -p /opt/android/sdk/platforms \
21
21
&& cd /opt/android/sdk/platforms \
22
- && unzip /tmp/android-26 .zip \
23
- && mv android-8.0.0 android-26 \
24
- && rm -f /tmp/android-26 .zip \
22
+ && unzip /tmp/android-30 .zip \
23
+ && mv android-11 android-30 \
24
+ && rm -f /tmp/android-30 .zip \
25
25
&& chmod -R a+rX /opt/android/sdk \
26
- && test -d /opt/android/sdk/platforms/android-26 \
26
+ && test -d /opt/android/sdk/platforms/android-30 \
27
27
&& : # last line
28
28
29
29
# Download and install android command line tool (for installing `sdkmanager`)
30
- # We need create latest folder inide cmdline-tools, since latest android commandline tool looks for this latest folder
30
+ # We need create 10.0 folder inide cmdline-tools, since latest android commandline tool looks for this latest folder
31
31
# when running sdkmanager --licenses
32
32
RUN set -x \
33
- && wget -O /tmp/cmdline-tools.zip https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest .zip \
33
+ && wget -O /tmp/cmdline-tools.zip https://dl.google.com/android/repository/commandlinetools-linux-9862592_latest .zip \
34
34
&& cd /opt/android/sdk \
35
35
&& mkdir -p temp \
36
36
&& unzip /tmp/cmdline-tools.zip -d temp \
37
- && mkdir -p cmdline-tools/latest \
38
- && cp -rf temp/cmdline-tools/* cmdline-tools/latest \
37
+ && mkdir -p cmdline-tools/10.0 \
38
+ && cp -rf temp/cmdline-tools/* cmdline-tools/10.0 \
39
39
&& rm -rf temp \
40
40
&& test -d /opt/android/sdk/cmdline-tools \
41
41
&& : # last line
0 commit comments