C2A-Installation-Server/docker/install-sdk.sh

9 lines
308 B
Bash
Raw Normal View History

2019-04-22 03:09:05 +00:00
#!/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