Skip to content

Instantly share code, notes, and snippets.

@petabyt
Created September 16, 2021 23:26
Show Gist options
  • Save petabyt/32def2ea5b13b848d511b4ee24906392 to your computer and use it in GitHub Desktop.
Save petabyt/32def2ea5b13b848d511b4ee24906392 to your computer and use it in GitHub Desktop.
AndroidTools Debian setup
# Create local.properties
touch local.properties
echo 'sdk.dir=/usr/lib/android-sdk/' > local.properties
echo 'ndk.dir=/usr/lib/android-ndk/' >> local.properties
@echo 'Installing android stuff via apt. (Ctrl+c to stop)'
@read
# All packages that *might* be needed
sudo apt install android-sdk android-sdk-platform-23
sudo apt install google-android-ndk-installer
sudo apt install openjdk-8-jdk
sudo apt install libncurses5
sudo apt install cmake
# Accept SDK licenses
@echo 'Accepting license..'
git clone https://github.com/Shadowstyler/android-sdk-licenses.git
sudo cp -a android-sdk-licenses/*-license /usr/lib/android-sdk/licenses
rm -rf android-sdk-licenses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment