File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ LABEL Description="This image provides a base Android development environment fo
2121
2222ENV DEBIAN_FRONTEND=noninteractive
2323
24+ # old versions to make sure build pass before RN versions are bumped
25+ ARG ANDROID_BUILD_VERSION_deprecated=30
26+ ARG ANDROID_TOOLS_VERSION_deprecated=30.0.3
27+
2428# set default build arguments
2529ARG SDK_VERSION=commandlinetools-linux-7302050_latest.zip
26- ARG ANDROID_BUILD_VERSION=30
27- ARG ANDROID_TOOLS_VERSION=30 .0.3
30+ ARG ANDROID_BUILD_VERSION=31
31+ ARG ANDROID_TOOLS_VERSION=31 .0.0
2832ARG NDK_VERSION=21.4.7075529
2933ARG NODE_VERSION=14.x
3034ARG WATCHMAN_VERSION=4.9.0
@@ -108,7 +112,9 @@ RUN curl -sS https://dl.google.com/android/repository/${SDK_VERSION} -o /tmp/sdk
108112 && yes | sdkmanager "platform-tools" \
109113 "emulator" \
110114 "platforms;android-$ANDROID_BUILD_VERSION" \
115+ "platforms;android-$ANDROID_BUILD_VERSION_deprecated" \
111116 "build-tools;$ANDROID_TOOLS_VERSION" \
117+ "build-tools;$ANDROID_TOOLS_VERSION_deprecated" \
112118 "cmake;3.18.1" \
113119 "system-images;android-21;google_apis;armeabi-v7a" \
114120 "ndk;$NDK_VERSION" \
You can’t perform that action at this time.
0 commit comments