From 31613886c84d36551be18a80d9e71a55364c9855 Mon Sep 17 00:00:00 2001 From: Dave Dunkin Date: Mon, 19 Feb 2024 17:25:45 -0700 Subject: [PATCH] Update xamarin.Dockerfile to use Android SDK 11.0. --- windows/xamarin.Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/windows/xamarin.Dockerfile b/windows/xamarin.Dockerfile index 9fbd59b..2fa4c81 100644 --- a/windows/xamarin.Dockerfile +++ b/windows/xamarin.Dockerfile @@ -22,8 +22,8 @@ RUN ` # Accept Android SDK licenses ENV JAVA_HOME C:\Program Files (x86)\Android\openjdk\jdk-17.0.8.101-hotspot -COPY ["android-sdk-license", "C:\\Program Files (x86)\\Android\\android-sdk\\licenses\\android-sdk-license"] +COPY ["android-sdk-license", "C:\\Program Files (x86)\\Android\\android-sdk\\11.0\\android-sdk-license"] COPY ["yes.txt", "C:\\yes.txt"] -RUN C:\Program^ Files^ ^(x86^)\Android\android-sdk\cmdline-tools\latest\bin\sdkmanager.bat --licenses < C:\yes.txt +RUN C:\Program^ Files^ ^(x86^)\Android\android-sdk\cmdline-tools\11.0\\bin\sdkmanager.bat --licenses < C:\yes.txt -RUN C:\Program^ Files^ ^(x86^)\Android\android-sdk\cmdline-tools\latest\bin\sdkmanager.bat --install "platforms;android-28" "platforms;android-34" --sdk_root="C:\Program Files (x86)\Android\android-sdk" +RUN C:\Program^ Files^ ^(x86^)\Android\android-sdk\cmdline-tools\11.0\\bin\sdkmanager.bat --install "platforms;android-28" "platforms;android-34" --sdk_root="C:\Program Files (x86)\Android\android-sdk"