Skip to content

Instantly share code, notes, and snippets.

View emanuelet's full-sized avatar

Emanuele Tonello emanuelet

View GitHub Profile
@emanuelet
emanuelet / gist:539e8cfe3d7c450c063d
Last active April 11, 2016 14:13
Codeship Setup Commands for Android Gradle Build
wget http://dl.google.com/android/android-sdk_r24.3-linux.tgz
tar xvzf android-sdk_r24.3-linux.tgz
rm android-sdk_r24.3-linux.tgz
export ANDROID_HOME=$PWD/android-sdk-linux
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
echo "y" | android update sdk --no-ui --all --filter tools,platform-tools,build-tools-22.0.1,android-22,extra-google-m2repository,extra-google-google_play_services,extra-android-support,139
cd -
touch local.properties
echo "sdk.dir=$ANDROID_HOME" >> local.properties
# ./gradlew clean