File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,15 @@ LABEL Description="This image provides a base Android development environment fo
4
4
5
5
ENV DEBIAN_FRONTEND=noninteractive
6
6
7
+ # Keep the previous SDK as a fallback until we've finished the migration.
8
+ ARG ANDROID_BUILD_VERSION_FALLBACK=31
9
+ ARG ANDROID_TOOLS_VERSION_FALLBACK=31.0.0
10
+
7
11
# set default build arguments
8
12
# https://developer.android.com/studio#command-tools
9
13
ARG SDK_VERSION=commandlinetools-linux-8512546_latest.zip
10
- ARG ANDROID_BUILD_VERSION=31
11
- ARG ANDROID_TOOLS_VERSION=31 .0.0
14
+ ARG ANDROID_BUILD_VERSION=33
15
+ ARG ANDROID_TOOLS_VERSION=33 .0.0
12
16
ARG BUCK_VERSION=2022.05.05.01
13
17
# Buck doesn't support versions beyond NDK 21
14
18
# Therefore we need to diverge the NDK version and set NDK_HOME
@@ -107,7 +111,9 @@ RUN curl -sS https://dl.google.com/android/repository/${SDK_VERSION} -o /tmp/sdk
107
111
&& yes | sdkmanager "platform-tools" \
108
112
"emulator" \
109
113
"platforms;android-$ANDROID_BUILD_VERSION" \
114
+ "platforms;android-$ANDROID_BUILD_VERSION_FALLBACK" \
110
115
"build-tools;$ANDROID_TOOLS_VERSION" \
116
+ "build-tools;$ANDROID_TOOLS_VERSION_FALLBACK" \
111
117
"cmake;$CMAKE_VERSION" \
112
118
"system-images;android-21;google_apis;armeabi-v7a" \
113
119
"ndk;$NDK_VERSION_BUCK" \
You can’t perform that action at this time.
0 commit comments