Merge pull request #25182 from akien-mga/travis-fix-android
Travis: Fix accepting Android SDK licenses
This commit is contained in:
commit
cef99771f3
1 changed files with 4 additions and 4 deletions
|
@ -71,11 +71,11 @@ if [ ! -d $ANDROID_NDK_DIR ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing: Android Tools ..."
|
echo "Installing: Android Tools ..."
|
||||||
#$ANDROID_SDK_DIR/tools/bin/sdkmanager --all
|
mkdir -p ~/.android && echo "count=0" > ~/.android/repositories.cfg
|
||||||
yes | $ANDROID_SDK_DIR/tools/bin/sdkmanager --licenses > /dev/null
|
yes | $ANDROID_SDK_DIR/tools/bin/sdkmanager --licenses > /dev/null
|
||||||
$ANDROID_SDK_DIR/tools/bin/sdkmanager 'tools' > /dev/null
|
yes | $ANDROID_SDK_DIR/tools/bin/sdkmanager 'tools' > /dev/null
|
||||||
$ANDROID_SDK_DIR/tools/bin/sdkmanager 'platform-tools' > /dev/null
|
yes | $ANDROID_SDK_DIR/tools/bin/sdkmanager 'platform-tools' > /dev/null
|
||||||
$ANDROID_SDK_DIR/tools/bin/sdkmanager 'build-tools;28.0.1' > /dev/null
|
yes | $ANDROID_SDK_DIR/tools/bin/sdkmanager 'build-tools;28.0.1' > /dev/null
|
||||||
echo
|
echo
|
||||||
|
|
||||||
EXPORT_VAL="export ANDROID_HOME=$ANDROID_SDK_PATH"
|
EXPORT_VAL="export ANDROID_HOME=$ANDROID_SDK_PATH"
|
||||||
|
|
Loading…
Reference in a new issue