From 6892b02bf7170f86a532fdbd4e8b75953f73fab1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 12 Jan 2011 12:34:23 -0800 Subject: [PATCH] Added info for building your code without optimizations on --- README.android | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.android b/README.android index d3070cc5b..ec20d9ea8 100644 --- a/README.android +++ b/README.android @@ -152,6 +152,9 @@ You can add logging to your code to help show what's happening: __android_log_print(ANDROID_LOG_INFO, "foo", "Something happened! x = %d", x); +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: +APP_OPTIM := debug + ================================================================================ Known issues