- try to fix travis build android dependancies
This commit is contained in:
+3
-1
@@ -31,7 +31,9 @@ before_install:
|
|||||||
# Building for Android here
|
# Building for Android here
|
||||||
- if [ "$BUILD_ANDROID" == "YES" ]; then
|
- if [ "$BUILD_ANDROID" == "YES" ]; then
|
||||||
export ANDROID="android-sdk-linux/tools/android" &&
|
export ANDROID="android-sdk-linux/tools/android" &&
|
||||||
if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch jq; fi &&
|
if [ `uname -m` = x86_64 ]; then
|
||||||
|
sudo dpkg --add-architecture i386 && sudo apt-get update &&
|
||||||
|
sudo apt-get install -qq --force-yes libgd2-xpm-dev ia32-libs ia32-libs-multiarch jq; fi &&
|
||||||
wget http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2 -nv &&
|
wget http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2 -nv &&
|
||||||
wget http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz -nv;
|
wget http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz -nv;
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user