Last active
          September 2, 2025 13:59 
        
      - 
      
- 
        Save jpswade/33841e261b28073d9e7551922acea1f2 to your computer and use it in GitHub Desktop. 
    Install android on centos
  
        
  
    
      This file contains hidden or 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