Changes between Version 97 and Version 98 of AndroidPort
- Timestamp:
- Jan 10, 2012, 7:00:40 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v97 v98 222 222 $ cp ~/android/0ad/jni/SDL/src ~/android/0ad/jni/lib/SDL 223 223 }}} 224 Open the file `Android.mk` in the `jni/src` directory under the project directory in a text editor, e.g.:{{{ 224 Open the file `Android.mk` in the `jni/src` directory under the project directory in a text editor, e.g.: 225 226 {{{ 225 227 $ nano -w ~/android/0ad/jni/src/Android.mk 226 228 }}} 227 Add the full path of the `jni/lib` directory to the `LOCAL_C_INCLUDES` declaration, e.g.: 229 230 231 Add the full path of the `jni/lib` directory to the `LOCAL_C_INCLUDES` declaration, e.g.: 228 232 229 233 {{{ … … 235 239 Then save the file and exit the text editor. 236 240 237 238 239 241 == Building the application == 240 242 The native library (i.e. the actual game) is built by running the `ndk-build` command in the project directory, e.g.: