4 # Install base Android SDK
5 - sudo apt-get update -qq
6 - sudo apt-get install -qq libstdc++6:i386 lib32z1
7 - export COMPONENTS=build-tools-18.1.0,android-16,sysimg-16,extra-android-support
8 - curl -L https://raw.github.com/embarkmobile/android-sdk-installer/master/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS
9 - source ~/.android-sdk-installer/env
11 # Create and start emulator
12 - echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
13 - emulator -avd test -no-skin -no-audio -no-window &