1

The android system setting log.redirect-stdio does not seem to have any effect on ICS devices. This is a huge pain on the already painful C/C++ Native code debugging.

According to this link STDIO redirection is as simple as setting the system property log.redirect-stdio to true.

http://developer.android.com/tools/debugging/debugging-log.html

This does work on pre-ICS devices but not on anything on or past ICS. Google = bug king!

Thanks, Kevin

Kevin Parker
  • 16,975
  • 20
  • 76
  • 105
  • Did you find an answer to this - there seems to be conflicting information available: the link you show above implies it should work, whereas the link to the google groups discussion in svdree's comment (here: http://stackoverflow.com/questions/5499202/why-is-redirecting-stdout-stderr-on-android-not-working) implies it does not. I have tried on a rooted and non-rooted 4.0 device with no success. – Mick Jan 03 '13 at 17:21

0 Answers0