C2A-Installation-Server/docker/install-sdk.sh
2019-04-22 12:10:23 +09:00

9 lines
308 B
Bash
Executable File

#!/bin/bash
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -P /root/
unzip /root/sdk-tools-linux-4333796.zip -d /root/
rm /root/sdk-tools-linux-4333796.zip
yes | ./tools/bin/sdkmanager --licenses
yes | ./tools/bin/sdkmanager "platforms;android-28" --sdk_root=/opt/android-sdk