| 46 | | |
| | 46 | 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. |
| | 47 | |
| | 48 | {{{ |
| | 49 | wget http://dl.google.com/android/ndk/android-ndk-r7-linux-x86.tar.bz2 |
| | 50 | tar xvf android-ndk-r7-linux-x86.tar.bz2 |
| | 51 | }}} |
| | 52 | |
| | 53 | The Android SDK from Necessitas can be used, just make sure API 14 is installed. |
| | 54 | |
| | 55 | |
| | 56 | {{{ |
| | 57 | cd python-for-android |
| | 58 | |
| | 59 | export ANDROIDSDK="<path to some android SDK that has API 14>" |
| | 60 | export ANDROIDNDK="<path to android ndk>" |
| | 61 | export ANDROIDNDKVER=r7 |
| | 62 | export ANDROIDAPI=14 |
| | 63 | |
| | 64 | ./distribute.sh -m "pyjnius kivy" -f |
| | 65 | }}} |