Squash Android SDK warning

Also see https://stackoverflow.com/a/47028911/608639
This commit is contained in:
Jeffrey Walton 2018-12-09 06:36:52 -05:00
parent b6acde8327
commit e08898b215
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -15,6 +15,9 @@ mkdir -p "$ANDROID_HOME"
mkdir -p "$ANDROID_SDK_ROOT"
mkdir -p "$ANDROID_NDK_ROOT"
# https://stackoverflow.com/a/47028911/608639
touch "$ANDROID_HOME/repositories.cfg"
# android skd/ndk
curl -Lo /tmp/android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
unzip -qq /tmp/android-sdk.zip -d "$ANDROID_SDK"