Skip to content

Commit

Permalink
Build using NDK r21.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed Apr 18, 2020
1 parent 2816a65 commit 8ac0be2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ travis_before_install()
brew update
brew install dpkg
elif [ "$TARGET_OS" = "Android" ]; then
echo y | sdkmanager 'ndk;20.0.5594570'
echo y | sdkmanager 'ndk;21.0.6113669'
echo y | sdkmanager 'cmake;3.10.2.4988404'
fi;

Expand All @@ -51,7 +51,7 @@ travis_script()
CMAKE_PATH=/usr/local/android-sdk/cmake/3.10.2.4988404
export PATH=${CMAKE_PATH}/bin:$PATH
export NINJA_EXE=${CMAKE_PATH}/bin/ninja
export ANDROID_NDK=/usr/local/android-sdk/ndk/20.0.5594570
export ANDROID_NDK=/usr/local/android-sdk/ndk/21.0.6113669
export ANDROID_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake
pushd build_retro
bash android_build.sh
Expand Down
1 change: 1 addition & 0 deletions build_android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ android {
cppFlags "-frtti"
targets "Play"
}
ndkVersion "21.0.6113669"
ndk {
abiFilters 'armeabi-v7a', 'x86', 'x86_64', 'arm64-v8a'
}
Expand Down

0 comments on commit 8ac0be2

Please sign in to comment.