Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions android/1_download_library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ else
exit 1
fi

SDK_VERSION="9477386_latest"
SDK_VERSION="14742923_latest"
SDK_URL="https://dl.google.com/android/repository/commandlinetools-${SDK_PLATFORM}-${SDK_VERSION}.zip"
curl -sSLOR "$SDK_URL"
unzip commandlinetools-${SDK_PLATFORM}-${SDK_VERSION}.zip
Expand Down Expand Up @@ -68,7 +68,7 @@ echo "y" | ./cmdline-tools/latest/bin/sdkmanager --verbose "cmake;3.22.1"

msg " [3] Installing Android NDK"

echo "y" | ./cmdline-tools/latest/bin/sdkmanager --verbose "ndk;21.4.7075529"
echo "y" | ./cmdline-tools/latest/bin/sdkmanager --verbose "ndk;28.2.13676358"

cd ..

Expand Down
2 changes: 1 addition & 1 deletion android/2_build_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function build() {
export NM=$NDK_PATH/llvm-nm
export RANLIB=$NDK_PATH/llvm-ranlib

export CFLAGS="-no-integrated-as -g0 -O2 -fPIC $5"
export CFLAGS="-g0 -O2 -fPIC $5"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="-I$PLATFORM_PREFIX/include -I$ANDROID_NDK/sources/android/cpufeatures"
export LDFLAGS="-L$PLATFORM_PREFIX/lib"
Expand Down