Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (15 sloc) 741 Bytes
language: java
# download the latest android sdk and unzip
- wget
- tar -zxf android-sdk_r20-linux.tgz
# setup your ANDROID_HOME and PATH environment variables
- export ANDROID_HOME=~/builds/ankidroid-continuous/Anki-Android/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# Only update the SDK for the tools and platform-tools and whatever API level
# you are building for android.
- android update sdk --filter 1,2 --no-ui --force
- android list sdk
- android update sdk --filter 7 --no-ui --force
- android update project --path ~/builds/ankidroid-continuous/Anki-Android
script: "ant clean debug"
Jump to Line
Something went wrong with that request. Please try again.