mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e629e94b46
Summary: A small patch update of the Android build tools from 29.0.2 to 29.0.3. It's the default for newly generated Android projects. ## Changelog [Android] [Changed] - Update Android build tools to 29.0.3 Pull Request resolved: https://github.com/facebook/react-native/pull/29350 Test Plan: Build project Reviewed By: JoshuaGross Differential Revision: D22521075 Pulled By: mdvacca fbshipit-source-id: 967bbfc6e45c6457d4867282ba311f86dea96208
32 lines
830 B
Bash
32 lines
830 B
Bash
# These should match the recommended versions listed in
|
|
# https://reactnative.dev/docs/environment-setup
|
|
|
|
|
|
## ANDROID ##
|
|
# Android SDK Build Tools revision
|
|
export ANDROID_SDK_BUILD_TOOLS_REVISION=29.0.3
|
|
# Android API Level we build with
|
|
export ANDROID_SDK_BUILD_API_LEVEL="28"
|
|
# Google APIs for Android level
|
|
export ANDROID_GOOGLE_API_LEVEL="23"
|
|
# Minimum Android API Level we target
|
|
export ANDROID_SDK_TARGET_API_LEVEL="19"
|
|
# Android Virtual Device name
|
|
export AVD_NAME="testAVD"
|
|
# ABI to use in Android Virtual Device
|
|
export AVD_ABI=x86
|
|
|
|
## IOS ##
|
|
export IOS_TARGET_OS="13.3"
|
|
export IOS_DEVICE="iPhone 8"
|
|
export TVOS_DEVICE="Apple TV"
|
|
export SDK_IOS="iphonesimulator"
|
|
|
|
## CI OVERRIDES ##
|
|
# Values to override when running in CI
|
|
# $CI is set by Circle CI
|
|
if [ $CI ]; then
|
|
# Use ARM on Circle CI
|
|
export AVD_ABI=armeabi-v7a
|
|
fi
|