Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove NDK r22 and update NDK r21 version #516

Merged
merged 4 commits into from Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/android.yml
Expand Up @@ -37,6 +37,9 @@ jobs:
# mv android-ndk-r${ANDROID_NDK_VERSION} $ANDROID_NDK_HOME
# ls -al $ANDROID_NDK_HOME
# cat $ANDROID_NDK_HOME/source.properties
- name: Delete newer NDK version
run: |
rm -rf $ANDROID_HOME/ndk/22*
- name: Download Android Emulator Image
run: |
sdkmanager --update | grep -v = || true
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Expand Up @@ -10,7 +10,7 @@ buildscript {
supportLibVersion = "29.0.0"
// Kotlin is needed by Detox testing framework
kotlinVersion = "1.3.50"
ndkVersion = "21.3.6528147"
ndkVersion = "21.4.7075529"
}
repositories {
google()
Expand Down
4 changes: 3 additions & 1 deletion bitrise.yml
Expand Up @@ -283,11 +283,13 @@ workflows:
# debug log
set -x

ANDROID_NDK_VERSION='21.3.6528147'
ANDROID_NDK_VERSION='21.4.7075529'

echo '### User Sources for Android SDK Manager' > $HOME/.android/repositories.cfg
yes | sdkmanager --licenses
sdkmanager --update | grep -v = || true
# Remove NDK r22 (can cause builds to fail)
rm -rf $ANDROID_HOME/ndk/22*
sdkmanager --install "ndk;${ANDROID_NDK_VERSION}"

echo "Updated to latest SDK:"
Expand Down