Skip to content

Instantly share code, notes, and snippets.

View brunodles's full-sized avatar

Bruno de Lima e Silva brunodles

  • São Paulo, São Paulo - Brasil
View GitHub Profile
@brunodles
brunodles / codeship_android_build.sh
Created October 31, 2015 01:56 — forked from PuKoren/codeship_android_build.sh
Codeship Android build script
cd /tmp
pwd
#Download Android SDK from Google and unzip it
wget http://dl.google.com/android/android-sdk_r24.1.2-linux.tgz
tar zxvf android-sdk_r24.1.2-linux.tgz
rm android-sdk_r24.1.2-linux.tgz
#Set extracted SDK location to $PATH so we can use commands
export ANDROID_HOME="/tmp/android-sdk-linux"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
@brunodles
brunodles / gist:ca4c5fb485dcaf808291
Created February 3, 2016 12:33 — forked from emanuelet/gist:539e8cfe3d7c450c063d
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