Install more NDKs (#1715)

Summary:
I honestly don't know how the resolution works but it seems that we need
more than just one NDK.

Pull Request resolved: https://github.com/facebook/flipper/pull/1715

Test Plan: Let's hope this turns green.

Reviewed By: mweststrate

Differential Revision: D25170962

Pulled By: passy

fbshipit-source-id: dcdf25b5c77f08bdeceef50d924727cb0c9dcca9
This commit is contained in:
Pascal Hartig
2020-11-26 05:14:01 -08:00
committed by Facebook GitHub Bot
parent 0f51ae4b82
commit 8d879fdd77
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ jobs:
with: with:
java-version: 1.8 java-version: 1.8
- name: Install NDK 21 - name: Install NDK 21
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT} run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew :sample:assembleDebug :tutorial:assembleDebug run: ./gradlew :sample:assembleDebug :tutorial:assembleDebug
- name: upload artifact - name: upload artifact

View File

@@ -16,7 +16,7 @@ jobs:
with: with:
java-version: 1.8 java-version: 1.8
- name: Install NDK 21 - name: Install NDK 21
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT} run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew :sample:assembleDebug :sample:assembleRelease run: ./gradlew :sample:assembleDebug :sample:assembleRelease
- name: Rename apk - name: Rename apk