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
  • 38,693
  • 65
  • 183
  • 286

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
  • 54,176
  • 9
  • 103
  • 290