Since It’s pretty hard to debug native android code, I’m going to the “printf trace” approach.
So, my question is, in a native code, wheres the standards “printf(“something”)” appears when running a Android application?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Log to logcat.
1) To invoke the logger in native code include the header and call _android_log_write(..).
2) In your Android.mk file include the log lib like this.