Skip to content

sillsdev/android-sdk-installer

Repository files navigation

android-sdk-installer

Debian package to download and install the Android SDK.

The default behavior is to download the required files from Google's Android software repository via HTTP during the install. You can download the files prior to installing the package and then provide them to the package at install time with the following instructions.

Download the Android SDK files:

  • On a network connected computer, download 4 zip files (around 400 MB). [Note: The -c option will allow the downloads to be resumed if it fails part way through the download.]
mkdir -p ~/Downloads/android-sdk-zips
cd ~/Downloads/android-sdk-zips
wget -ci http://bit.ly/android-sdk-urls

Later, when you want to install:

echo android-sdk-installer android-sdk-installer/dldir string ~/Downloads/android-sdk-zips | sudo debconf-set-selections
sudo apt-get install android-sdk-installer
echo android-sdk-installer android-sdk-installer/dldir string | sudo debconf-set-selections

Building the Debian Package

Setup (one-time)

  • Install and configure sbuild: ./sbuild-setup.sh
  • Log out and back in (for group membership changes)

Building

Single package build: Since the package is now distribution-agnostic:

  • gradle (generates source package)
  • ./build-single.sh (builds once, works for all distributions)

Uploading to multiple distributions

Since the binary is identical across distributions, you can upload the same build to multiple repositories:

# Upload the same package to different distribution pockets
dput -U pso:ubuntu/jammy output/android-sdk-installer_*_source.changes
dput -U pso:ubuntu/noble output/android-sdk-installer_*_source.changes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages