==== Building Python for Android (Kivi)==== Based on [http://python-for-android.readthedocs.org/en/latest/prerequisites/ python-for-android documentation], built on Ubuntu 12.10 64-bit. Install prerequisites: {{{ sudo apt-get install build-essential patch git-core ccache ant python-pip python-dev }}} On a 64-bit distro: {{{ sudo apt-get install build-essential patch git-core ccache ant pip python-dev }}} Ensure you have the latest Cython version: {{{ sudo pip install --upgrade cython }}} Python for Android (the Kivi one) seems to build only with NDK-r7, so the NDK in current Necessitas SDK (NDK-r8b) can't be used. Just download the r7 NDK unpack it somewhere and set the NDK path. {{{ wget http://dl.google.com/android/ndk/android-ndk-r7-linux-x86.tar.bz2 tar xvf android-ndk-r7-linux-x86.tar.bz2 }}} The Android SDK from Necessitas can be used, just make sure API 14 is installed. {{{ cd python-for-android export ANDROIDSDK="" export ANDROIDNDK="" export ANDROIDNDKVER=r7 export ANDROIDAPI=14 ./distribute.sh -m "pyjnius kivy" -f }}} == Having build issues ? == * try to build on Ubuntu 12.04 with NDK r7 * try the [http://python-for-android.readthedocs.org/en/latest/android/#prebuilt-virtualbox Virtualbox image] pre-configured for building Python for Android