Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,23 @@ Global overview

#. Download Android NDK, SDK

* NDK: http://dl.google.com/android/ndk/android-ndk-r8c-linux-x86.tar.bz2

* More details at: http://developer.android.com/tools/sdk/ndk/index.html

* SDK: http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz

* More details at:http://developer.android.com/sdk/index.html
* NDK: http://dl.google.com/android/ndk/android-ndk-r8c-linux-x86.tar.bz2
* More details at: http://developer.android.com/tools/sdk/ndk/index.html
* SDK: http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
* More details at:http://developer.android.com/sdk/index.html

#. Launch "android", and download latest Android platform, here API 14, which would be Android 4.0

#. Export some environment variables::
#. Export some environment variables:

.. code-block:: shell

export ANDROIDSDK="/path/to/android/android-sdk-linux_86"
export ANDROIDNDK="/path/to/android/android-ndk-r8c"
export ANDROIDNDKVER=r8c
export ANDROIDAPI=14
export ANDROIDSDK="/path/to/android/android-sdk-linux_86"
export ANDROIDNDK="/path/to/android/android-ndk-r8c"
export ANDROIDNDKVER=r8c
export ANDROIDAPI=14

(Of course correct the paths mentioned in ANDROIDSDK and ANDROIDNDK)
(Of course correct the paths mentioned in ANDROIDSDK and ANDROIDNDK)

#. Clone python-for-android::

Expand All @@ -59,10 +58,10 @@ Global overview
Troubleshooting
---------------

if you get the following message:
If you get the following message::

Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !

a solution is to remove the "awk" binary in the android ndk distribution
a solution is to remove the "awk" binary in the android ndk distribution::

rm $ANDROIDNDK/prebuilt/linux-x86/bin/awk