Changes between Version 97 and Version 98 of AndroidPort


Ignore:
Timestamp:
Jan 10, 2012, 7:00:40 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v97 v98  
    222222$ cp ~/android/0ad/jni/SDL/src ~/android/0ad/jni/lib/SDL
    223223}}}
    224 Open the file `Android.mk` in the `jni/src` directory under the project directory in a text editor, e.g.:{{{
     224Open the file `Android.mk` in the `jni/src` directory under the project directory in a text editor, e.g.:
     225
     226{{{
    225227$ nano -w ~/android/0ad/jni/src/Android.mk
    226228}}}
    227 Add the full path of the `jni/lib` directory to the `LOCAL_C_INCLUDES` declaration, e.g.:
     229
     230
     231Add the full path of the `jni/lib` directory to the `LOCAL_C_INCLUDES` declaration, e.g.:
    228232
    229233{{{
     
    235239Then save the file and exit the text editor.
    236240
    237 
    238 
    239241== Building the application ==
    240242The native library (i.e. the actual game) is built by running the `ndk-build` command in the project directory, e.g.: