Skip to content

Instantly share code, notes, and snippets.

View scottmathews's full-sized avatar
😁

Scott Mathews scottmathews

😁
  • WA
  • 15:00 (UTC -08:00)
View GitHub Profile
@scottmathews
scottmathews / ubuntu-cli-install-android-sdk.sh
Created September 22, 2017 22:59 — forked from zhy0/ubuntu-cli-install-android-sdk.sh
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
#!/bin/bash
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make # NDK stuff