Browse Source

Better way of accepting Android SDK licenses

android-5
Fredrik Fornwall 7 years ago
parent
commit
601e514efb
  1. 4
      scripts/setup-android-sdk.sh

4
scripts/setup-android-sdk.sh

@ -35,7 +35,7 @@ if [ ! -d $NDK ]; then
rm ndk.zip rm ndk.zip
fi fi
mkdir -p $ANDROID_HOME/licenses yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
echo -e -n "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > $ANDROID_HOME/licenses/android-sdk-license
# The android-16 platform is used in the ecj package: # The android-16 platform is used in the ecj package:
$ANDROID_HOME/tools/bin/sdkmanager "build-tools;26.0.1" "platforms;android-26" "platforms;android-16" $ANDROID_HOME/tools/bin/sdkmanager "build-tools;26.0.1" "platforms;android-26" "platforms;android-16"

Loading…
Cancel
Save