0

I'm porting my C++ application to Android using NDK and wonder where the clog out goes to? I am trying to debug by adding print statements, but I cannot find where they are sent. Where does clog get sent in a C++ application running under Android NDK?

WilliamKF
  • 41,123
  • 68
  • 193
  • 295

1 Answers1

0

Please see Is "std::cout" usable in Android-ndk. TL;NR:

$ adb shell stop
$ adb shell setprop log.redirect-stdio true
$ adb shell start
Community
  • 1
  • 1
Alex Cohn
  • 56,089
  • 9
  • 113
  • 307