title: Android JNI: How to see error messages from printf, fprintf and perror?
body: <p>This may be a simple problem but I am not able to find a solution.</p>
  
  <p>I am trying to print error messages to figure out errors in my C++ code in JNI. I have calls to printf, fprintf() and perror() but I cannot find where they are being printed.</p>
  
  <p>I have looked inside adb logcat and it is not there (which makes sense). I found a few links that told me to #define LOG... and then use LOG's functions but I would prefer to stick with the initial fprintf and perror.</p>
  
  <p>Is there a way for me to see those messages in an easy way please?</p>
  
  <p>Thank you very much!</p>