comparison README.android @ 4974:1cd0a891b69a

Added info for building your code without optimizations on
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Jan 2011 12:34:23 -0800
parents 067b6ec8b751
children 6fbc7044f343
comparison
equal deleted inserted replaced
4973:067b6ec8b751 4974:1cd0a891b69a
150 150
151 #include <android/log.h> 151 #include <android/log.h>
152 152
153 __android_log_print(ANDROID_LOG_INFO, "foo", "Something happened! x = %d", x); 153 __android_log_print(ANDROID_LOG_INFO, "foo", "Something happened! x = %d", x);
154 154
155 If you need to build without optimization turned on, you can create a file called "Application.mk" in the jni directory, with the following line in it:
156 APP_OPTIM := debug
157
155 158
156 ================================================================================ 159 ================================================================================
157 Known issues 160 Known issues
158 ================================================================================ 161 ================================================================================
159 162