File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export RUN_FUNCTIONAL_TESTS=false
17
17
export ANDROID_API_LEVEL=28
18
18
export ANDROID_BUILD_TOOLS_VERSION=28.0.3
19
19
export ANDROID_NDK_VERSION=23.1.7779620
20
- export ANDROID_TOOLS_URL=https://dl.google.com/android/repository/commandlinetools-linux-6609375_latest .zip
20
+ export ANDROID_TOOLS_URL=https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest .zip
21
21
export ANDROID_HOME=" ${DEPENDS_DIR} /SDKs/android"
22
22
export ANDROID_NDK_HOME=" ${ANDROID_HOME} /ndk/${ANDROID_NDK_VERSION} "
23
23
export DEP_OPTS=" ANDROID_SDK=${ANDROID_HOME} ANDROID_NDK=${ANDROID_NDK_HOME} ANDROID_API_LEVEL=${ANDROID_API_LEVEL} ANDROID_TOOLCHAIN_BIN=${ANDROID_NDK_HOME} /toolchains/llvm/prebuilt/linux-x86_64/bin/"
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ if [ -n "$ANDROID_HOME" ] && [ ! -d "$ANDROID_HOME" ]; then
31
31
if [ ! -f " $ANDROID_TOOLS_PATH " ]; then
32
32
CI_EXEC curl --location --fail " ${ANDROID_TOOLS_URL} " -o " $ANDROID_TOOLS_PATH "
33
33
fi
34
- CI_EXEC mkdir -p " ${ ANDROID_HOME} /cmdline-tools "
35
- CI_EXEC unzip -o " $ANDROID_TOOLS_PATH " -d " ${ ANDROID_HOME} /cmdline-tools "
36
- CI_EXEC " yes | ${ANDROID_HOME} /cmdline-tools/tools/ bin/sdkmanager --install \" build-tools;${ANDROID_BUILD_TOOLS_VERSION} \" \" platform-tools\" \" platforms;android-${ANDROID_API_LEVEL} \" \" ndk;${ANDROID_NDK_VERSION} \" "
34
+ CI_EXEC mkdir -p " $ANDROID_HOME "
35
+ CI_EXEC unzip -o " $ANDROID_TOOLS_PATH " -d " $ANDROID_HOME "
36
+ CI_EXEC " yes | ${ANDROID_HOME} /cmdline-tools/bin/sdkmanager --sdk_root= \" ${ANDROID_HOME} \" --install \" build-tools;${ANDROID_BUILD_TOOLS_VERSION} \" \" platform-tools\" \" platforms;android-${ANDROID_API_LEVEL} \" \" ndk;${ANDROID_NDK_VERSION} \" "
37
37
fi
38
38
39
39
if [ -z " $NO_DEPENDS " ]; then
You can’t perform that action at this time.
0 commit comments