代码拉取完成,页面将自动刷新
language: java
before_install:
# fix the 64bit box
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi
# download the latest android sdk and unzip
- wget http://dl.google.com/android/android-sdk_r21.1-linux.tgz
- tar -zxf android-sdk_r21.1-linux.tgz
# setup your ANDROID_HOME and PATH environment variables
# use ~/builds/[Github username]/[project]/android-sdk-linux
- export ANDROID_HOME=`pwd`/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# Download the android sdk we need
# Android Platform tools, required to compile
- TOOLS=$(android list sdk --no-ui | grep "Android SDK Platform-tools" | cut -d"-" -f1)
- android update sdk --filter "$TOOLS" --no-ui --force
# API 16 stuff which needs to be provided
- SDK=$(android list sdk --no-ui | grep ", API 16," | cut -d"-" -f1)
- android update sdk --filter "$SDK" --no-ui --force
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。