From 011a60556d03e98124636db8944b3630f7723956 Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Fri, 1 Oct 2021 18:32:00 +0200 Subject: [PATCH] fix: android update --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b7f8c92..93f2323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,9 @@ RUN mkdir "$ANDROID_HOME" .android && \ echo "${ANDROID_SDK_CHECKSUM} sdk.zip" | sha256sum -c - && \ unzip sdk.zip && \ rm sdk.zip && \ - mv cmdline-tools tools + mv cmdline-tools latest && \ + mkdir cmdline-tools && \ + mv latest cmdline-tools/. RUN yes | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses RUN $ANDROID_HOME/tools/bin/sdkmanager --update