Chapter     5

Logging, Debugging, and Troubleshooting

In previous chapters, you explored the Android NDK build system and how to connect the native code to the Java application using the JNI technology. Needless to say, learning application development on a new platform involves much experimentation; it takes time to get things right. It is vital to gain the troubleshooting skills pertaining to Android platform before starting to experiment with the native APIs offered, as it can catalyze the learning phase greatly by helping you to spot problems quickly. Your existing troubleshooting skills may not directly apply since the development and execution of Android applications happens on two different machines. In this chapter you will explore logging, ...

Get Pro Android C++ with the NDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.