-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I replace clutter-android.modules but have same error message.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Replace this :
By this :
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
And I use ubuntu 1404 and edit build-clutter-android.sh to this:
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
set -ex
download Android NDK and create standalone toolchain
if ! test -d android-ndk-r8c; then
wget http://dl.google.com/android/ndk/android-ndk-r8c-linux-x86.tar.bz2
tar jxf android-ndk-r8c-linux-x86.tar.bz2
rm android-ndk-r8c-linux-x86.tar.bz2
pushd android-ndk-r8c
./build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=../toolchain
popd
fi
if ! test -d android-ndk-r9d; then
wget http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86.tar.bz2
tar jxf android-ndk-r9d-linux-x86.tar.bz2
rm android-ndk-r9d-linux-x86.tar.bz2
pushd android-ndk-r9d
./build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=../toolchain
popd
fi
JHB_PREFIX=$PWD/jhbuild/.local
set up patched version of jhbuild
if ! test -d jhbuild; then
git clone git://git.gnome.org/jhbuild
pushd jhbuild
patch -p1 -i ../modulesets/patches/jhbuild/disable-clean-la-files.patch
./autogen.sh --prefix=$JHB_PREFIX
make install
popd
fi
mkdir -p $JHB_PREFIX/share/aclocal
cp /usr/share/aclocal/gtk-doc.m4 $JHB_PREFIX/share/aclocal/
source ./android-env.sh
start the build
$JHB_PREFIX/bin/jhbuild -f jhbuildrc-android build -q mx libsoup
download Android SDK
if ! test -d android-sdk-linux; then
wget http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
tar zxf android-sdk_r22.6.2-linux.tgz
rm android-sdk_r22.6.2-linux.tgz
fi
android update sdk -u --filter platform-tool,tool
android update sdk --all -u --filter platform-tool,tool
android update sdk -u --filter android-19
android update sdk --all -u --filter android-19