Changes between Version 237 and Version 238 of AndroidPort


Ignore:
Timestamp:
May 13, 2012, 1:30:13 PM (12 years ago)
Author:
Philip Taylor
Comment:

fix NDK instructions

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v237 v238  
    161161A window with installable packages should open. In addition to any packages checked by default, make sure 'Android SDK Platform-tools' is checked and click 'Install packages'.
    162162
    163 Google publishes a [http://developer.android.com/sdk/ndk/index.html Native Development Kit] (NDK), which is a set of tools for building native applications for the Android platform. Unfortunately, the official NDK does not and will not support the `std::wstring` (wide characters) datatype, which is required by the game, so we'll have to use the unofficial [http://www.crystax.net/android/ndk.php Crystax NDK]. This is merely an extension of the official NDK, adding support for wide characters and other features maligned by Google. This is installed automatically by the `setup-libs.sh` script (see next section).
     163Google publishes a [http://developer.android.com/sdk/ndk/index.html Native Development Kit] (NDK), which is a set of tools for building native applications for the Android platform. Unfortunately, the official NDK does not and will not support the `std::wstring` (wide characters) datatype, which is required by the game, so we'll have to use the unofficial [http://www.crystax.net/android/ndk.php Crystax NDK]. This is merely an extension of the official NDK, adding support for wide characters and other features maligned by Google.
     164
     165Download the `5.beta2` Crystax NDK release from [http://www.crystax.net/en/android/ndk this page] to the working directory and then unpack there, e.g.:
     166{{{
     167$ cd ~/android
     168$ tar -xvf android-ndk-r7-crystax-5.beta2-linux-x86.tar.bz2
     169}}}
    164170
    165171You also must install a Java Development Kit (JDK) if you haven't already, e.g. [https://apps.ubuntu.com/cat/applications/oneiric/default-jdk/ the standard JDK from Ubuntu Software Center]: