Fix path to sdkmanager
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-02-19 09:28:42 +01:00
parent 7560b53471
commit 196373d4f4

View File

@@ -50,7 +50,7 @@ RUN set -x -e; \
echo ANDROID_SDK_ROOT=/home/code/sdk >> /etc/environment; \
echo ANDROID_HOME=/home/code/sdk >> /etc/environment; \
sed -i -E "s:PATH=\"?([^\"]*)\"?:PATH=/home/code/sdk/cmdline-tools/bin\:\1:g" /etc/environment; \
export PATH=/home/code/sdk/cmdline-tools/bin:$PATH ANDROID_SDK_ROOT=/home/code/sdk; \
export PATH=/home/code/sdk/cmdline-tools/latest/bin:$PATH ANDROID_SDK_ROOT=/home/code/sdk; \
yes|sdkmanager --sdk_root=/home/code/sdk "platform-tools" "build-tools;35.0.0" "platforms;android-35"; \
yes|sdkmanager --sdk_root=/home/code/sdk --licenses; \
# Credential provider