-
-
Save PakCyberPyrates/c02d5e4da5ef6e57f3b56b96581f411b to your computer and use it in GitHub Desktop.
Install android on centos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# yum install android-tools -y | |
yum install java-1.8.0-openjdk-devel | |
mkdir -p android-sdk-linux | |
cd android-sdk-linux | |
# @see https://developer.android.com/studio/index.html | |
wget --output-document=android-sdk.zip --quiet https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip | |
unzip android-sdk.zip | |
rm -f android-sdk.zip | |
yes | tools/bin/sdkmanager --licenses | |
tools/bin/sdkmanager "tools" "platform-tools" "extras;google;m2repository" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment