Created
October 1, 2014 23:35
-
-
Save crankycoder/34d11a9f8202a10f3adb to your computer and use it in GitHub Desktop.
Bootstrap Ubuntu 14.04 into a workable MozStumbler buildbox
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 | |
sudo apt-get -qqy update | |
sudo apt-get install -y unzip git make openjdk-7-jdk | |
# Everybody loves that android needs x86 stuff | |
sudo dpkg --add-architecture i386 | |
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386 | |
curl -o adt-bundle-linux.zip https://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip | |
unzip adt-bundle-linux.zip | |
mv adt-bundle-linux-x86_64-20140702 adt-bundle-linux | |
. ~/activate.sh | |
# 4- Android SDK Build-tools, revision 19.1 | |
echo y | android update sdk --all -u -t 4 | |
# 16- SDK Platform Android 4.4.2, API 19, revision 4 | |
echo y | android update sdk --all -u -t 16 | |
# 36- Samples for SDK API 19, revision 6 | |
echo y | android update sdk --all -u -t 36 | |
# 55- ARM EABI v7a System Image, Android API 19, revision 2 | |
echo y | android update sdk --all -u -t 55 | |
# 71- Google APIs (ARM System Image), Android API 19, revision 7 | |
echo y | android update sdk --all -u -t 71 | |
# 72- Glass Development Kit Preview, Android API 19, revision 9 | |
echo y | android update sdk --all -u -t 72 | |
git clone https://github.com/mozilla/MozStumbler.git | |
cd MozStumbler | |
make test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment