I can\'t get my Nexus S (running Android 4.0) to redirect native stdout message to logcat. I\'ve read that I need to do this:
$ adb shell stop $ adb shell se
stdout/stderr are redirected to /dev/null in Android apps. The setprop workaround is a hack for rooted devices that copies stdout/stderr to the log. See Android Native Code Debugging.
/dev/null