diff --git a/README.rst b/README.rst index ff99d60d14..a233ee8a3d 100644 --- a/README.rst +++ b/README.rst @@ -39,13 +39,20 @@ WARNING: the current version is tested only on Ubuntu oneiric (11.10). If it doe You need the minimal environment for building python. Note that other libraries might need other tools:: - sudo apt-get install build-essential patch git-core ccache + sudo apt-get install build-essential patch git-core ccache libzip-dev cython ant python-jinja2 You must have android SDK and NDK. You can download them at:: http://developer.android.com/sdk/index.html http://developer.android.com/sdk/ndk/index.html +For best results you need oracle java SE: java-jdk-7 for running the android tooling on oneiric. When done, +java -version should report something like the following (versions may differ). + +java version "1.7.0" +Java(TM) SW Runtime Environment (build 1.7.0-b147) +... + If it's your very first time into android SDK, don't forget to follow documentation for recommended components at:: @@ -71,7 +78,16 @@ After installing them, export both installation path, NDK version and API to use export ANDROIDNDK="/home/tito/code/android/android-ndk-r7" export ANDROIDNDKVER=r7 export ANDROIDAPI=14 + export PATH=$PATH:$ANDROIDSDK/tools + export PATH=$PATH:$ANDROIDSDK/platform-tools + +Notes for android-ndk-r7 + +#. ANDROIDAPI versions 6,7,10,11,12,13 seems not to work, because the android NDK has no android-12 dir in the platforms dir?? +#. The awk supplied with the ndk is outdated. Do the following:: + cd $ANDROIDNDK/prebuilt/linux-x86/bin + mv awk awk_ Usage -----