mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Bump Android NDK to r19c (#25140)
Summary: In 2019-6-4 version of Docker Android image, we've added Android NDK r19c. So this PR will change CI to use NDK r19c. I'll create a PR to website once this merged. Note: I tried to build RN with NDK 19 while I was setting up my laptop after format, and it worked. ## Changelog [Android] [Changed] - Bump Android NDK to r19c Pull Request resolved: https://github.com/facebook/react-native/pull/25140 Differential Revision: D15631301 Pulled By: cpojer fbshipit-source-id: b9a5600df1dadeba328932b694493960b242c2f7
This commit is contained in:
committed by
Facebook Github Bot
parent
f5aa52399b
commit
146d1f7578
@@ -1,13 +1,13 @@
|
||||
environment:
|
||||
ANDROID_HOME: "C:\\android-sdk-windows"
|
||||
ANDROID_NDK: "C:\\android-sdk-windows\\android-ndk-r17c"
|
||||
ANDROID_NDK: "C:\\android-sdk-windows\\android-ndk-r19c"
|
||||
ANDROID_BUILD_VERSION: 28
|
||||
ANDROID_TOOLS_VERSION: 28.0.3
|
||||
|
||||
GRADLE_OPTS: -Dorg.gradle.daemon=false
|
||||
|
||||
SDK_TOOLS_URL: https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip
|
||||
NDK_TOOLS_URL: https://dl.google.com/android/repository/android-ndk-r17c-windows-x86_64.zip
|
||||
NDK_TOOLS_URL: https://dl.google.com/android/repository/android-ndk-r19c-windows-x86_64.zip
|
||||
|
||||
matrix:
|
||||
- nodejs_version: 8
|
||||
|
||||
@@ -23,7 +23,7 @@ executors:
|
||||
reactnativeandroid:
|
||||
<<: *defaults
|
||||
docker:
|
||||
- image: reactnativecommunity/react-native-android:2019-5-29
|
||||
- image: reactnativecommunity/react-native-android:2019-6-4
|
||||
resource_class: "large"
|
||||
environment:
|
||||
- TERM: "dumb"
|
||||
|
||||
@@ -40,7 +40,7 @@ function getAndroidNDK {
|
||||
if [ ! -e $DEPS ]; then
|
||||
cd $NDK_HOME || exit
|
||||
echo "Downloading NDK..."
|
||||
curl -o ndk.zip https://dl.google.com/android/repository/android-ndk-r17c-linux-x86_64.zip
|
||||
curl -o ndk.zip https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip
|
||||
unzip -o -q ndk.zip
|
||||
echo "Installed Android NDK at $NDK_HOME"
|
||||
touch $DEPS
|
||||
|
||||
Reference in New Issue
Block a user