Skip to content

Commit b46144f

Browse files
authored
Update Android Codespace
1 parent 061acba commit b46144f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.devcontainer/android/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2828

2929
SHELL ["/bin/bash", "-c"]
3030

31-
ENV NDK_VER=r23c
32-
ENV SDK_VER=9123335_latest
33-
ENV SDK_API_LEVEL=33
34-
ENV SDK_BUILD_TOOLS=33.0.1
31+
ENV NDK_VER=r27c
32+
ENV SDK_VER=13114758_latest
33+
ENV SDK_API_LEVEL=35
34+
ENV SDK_BUILD_TOOLS=35.0.0
3535
ENV HOST_OS=linux
3636
ENV HOST_OS_SHORT=linux
3737
ENV ANDROID_NDK_ROOT=/android/android-ndk-${NDK_VER}
@@ -43,7 +43,7 @@ RUN curl -sSL --tlsv1.2 https://dl.google.com/android/repository/android-ndk-${N
4343
curl -sSL --tlsv1.2 https://dl.google.com/android/repository/commandlinetools-${HOST_OS_SHORT}-${SDK_VER}.zip -L --output /tmp/asdk.zip
4444

4545
# Check hashes of downloads
46-
RUN (echo "6ce94604b77d28113ecd588d425363624a5228d9662450c48d2e4053f8039242 /tmp/andk.zip"; echo "0bebf59339eaa534f4217f8aa0972d14dc49e7207be225511073c661ae01da0a /tmp/asdk.zip") | cat | sha256sum -c
46+
RUN (echo "59c2f6dc96743b5daf5d1626684640b20a6bd2b1d85b13156b90333741bad5cc /tmp/andk.zip"; echo "7ec965280a073311c339e571cd5de778b9975026cfcbe79f2b1cdcb1e15317ee /tmp/asdk.zip") | cat | sha256sum -c
4747

4848
# Unpack the NDK and SDK
4949
RUN mkdir -p ${ANDROID_NDK_ROOT} && unzip /tmp/andk.zip -d $(dirname ${ANDROID_NDK_ROOT}) && rm -f /tmp/andk.zip && \

.devcontainer/scripts/onCreateCommand.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ case "$opt" in
3131

3232
android)
3333
# prebuild the repo for Mono, so it is ready for development
34-
./build.sh mono+libs -os android
34+
./build.sh mono+libs+clr.runtime+clr.alljits+clr.corelib+clr.nativecorelib+clr.tools+clr.packages -os android
3535
# restore libs tests so that the project is ready to be loaded by OmniSharp
3636
./build.sh libs.tests -restore
3737
;;

0 commit comments

Comments
 (0)