Skip to content

Commit

Permalink
Problem: CI build android on ubuntu-latest failed
Browse files Browse the repository at this point in the history
Solution: Fixed the NDK version to android-ndk-r25 to
avoid using unsupported NDK version on ubuntu-latest.
  • Loading branch information
githejie committed Aug 16, 2024
1 parent b714341 commit ea3d55c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builds/android/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ set -e
cd "$( dirname "${BASH_SOURCE[0]}" )"

# Configuration
export NDK_VERSION="${NDK_VERSION:-android-ndk-r25}"
export ANDROID_NDK_ROOT="${ANDROID_NDK_ROOT:-/tmp/${NDK_VERSION}}"
export NDK_VERSION="android-ndk-r25"
export ANDROID_NDK_ROOT="/tmp/${NDK_VERSION}"
export MIN_SDK_VERSION=${MIN_SDK_VERSION:-21}
export ANDROID_BUILD_DIR="${ANDROID_BUILD_DIR:-${PWD}/.build}"
export ANDROID_BUILD_CLEAN="${ANDROID_BUILD_CLEAN:-yes}"
Expand Down

0 comments on commit ea3d55c

Please sign in to comment.