mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 00:20:31 +00:00
Make Android build tools 26.0.3 available to CI
Summary: a3931e95317acaff5ceb1d2fb0f26ae67744c8a3 bumped buildToolsVersions to 26.0.3, and `test_android` started failing because that particular build tools version was not getting installed in CircleCI. Closes https://github.com/facebook/react-native/pull/19276 Differential Revision: D8020664 Pulled By: hramos fbshipit-source-id: 561aa8186ed165b3652923a9bcaf56134acfd90b
This commit is contained in:
parent
2472d915ab
commit
274c1757e6
@ -4,9 +4,9 @@
|
||||
|
||||
## ANDROID ##
|
||||
# Android SDK Build Tools revision
|
||||
export ANDROID_SDK_BUILD_TOOLS_REVISION=23.0.1
|
||||
export ANDROID_SDK_BUILD_TOOLS_REVISION=26.0.3
|
||||
# Android API Level we build with
|
||||
export ANDROID_SDK_BUILD_API_LEVEL="23"
|
||||
export ANDROID_SDK_BUILD_API_LEVEL="26"
|
||||
# Minimum Android API Level we target
|
||||
export ANDROID_SDK_TARGET_API_LEVEL="19"
|
||||
# Android Virtual Device name
|
||||
|
@ -16,7 +16,7 @@ function getAndroidPackages {
|
||||
echo "Installing target SDK for Android API level $ANDROID_SDK_TARGET_API_LEVEL..."
|
||||
sdkmanager "platforms;android-$ANDROID_SDK_TARGET_API_LEVEL"
|
||||
echo "Installing SDK build tools, revision $ANDROID_SDK_BUILD_TOOLS_REVISION..."
|
||||
sdkmanager "build-tools;$ANDROID_SDK_BUILD_TOOLS_REVISION"
|
||||
sdkmanager "build-tools;android-$ANDROID_SDK_BUILD_TOOLS_REVISION"
|
||||
echo "Installing Google APIs for Android API level $ANDROID_SDK_BUILD_API_LEVEL..."
|
||||
sdkmanager "add-ons;addon-google_apis-google-$ANDROID_SDK_BUILD_API_LEVEL"
|
||||
echo "Installing Android Support Repository"
|
||||
|
Loading…
x
Reference in New Issue
Block a user