@@ -15,24 +15,23 @@ Global overview
15
15
16
16
#. Download Android NDK, SDK
17
17
18
- * NDK: http://dl.google.com/android/ndk/android-ndk-r8c-linux-x86.tar.bz2
19
-
20
- * More details at: http://developer.android.com/tools/sdk/ndk/index.html
21
-
22
- * SDK: http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
23
-
24
- * More details at:http: //developer.android.com/sdk/index.html
18
+ * NDK: http://dl.google.com/android/ndk/android-ndk-r8c-linux-x86.tar.bz2
19
+ * More details at: http://developer.android.com/tools/sdk/ndk/index.html
20
+ * SDK: http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
21
+ * More details at:http: //developer.android.com/sdk/index.html
25
22
26
23
#. Launch "android", and download latest Android platform, here API 14, which would be Android 4.0
27
24
28
- #. Export some environment variables::
25
+ #. Export some environment variables:
26
+
27
+ .. code-block :: shell
29
28
30
- export ANDROIDSDK="/path/to/android/android-sdk-linux_86"
31
- export ANDROIDNDK="/path/to/android/android-ndk-r8c"
32
- export ANDROIDNDKVER=r8c
33
- export ANDROIDAPI=14
29
+ export ANDROIDSDK=" /path/to/android/android-sdk-linux_86"
30
+ export ANDROIDNDK=" /path/to/android/android-ndk-r8c"
31
+ export ANDROIDNDKVER=r8c
32
+ export ANDROIDAPI=14
34
33
35
- (Of course correct the paths mentioned in ANDROIDSDK and ANDROIDNDK)
34
+ (Of course correct the paths mentioned in ANDROIDSDK and ANDROIDNDK)
36
35
37
36
#. Clone python-for-android::
38
37
@@ -59,10 +58,10 @@ Global overview
59
58
Troubleshooting
60
59
---------------
61
60
62
- if you get the following message:
61
+ If you get the following message: :
63
62
64
63
Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !
65
64
66
- a solution is to remove the "awk" binary in the android ndk distribution
65
+ a solution is to remove the "awk" binary in the android ndk distribution::
67
66
68
67
rm $ANDROIDNDK/prebuilt/linux-x86/bin/awk
0 commit comments