Chapter 3. Build and Debug NDK Applications

In this chapter we will cover the following recipes:

  • Building an Android NDK application at the command line
  • Building an Android NDK application in Eclipse
  • Building an Android NDK application for different ABIs
  • Building an Android NDK applications for different CPU features
  • Debugging an Android NDK application with logging messages
  • Debugging an Android NDK application with CheckJNI
  • Debugging an Android NDK application with NDK GDB
  • Debugging an Android NDK application with CGDB
  • Debugging an Android NDK application in Eclipse

Introduction

We covered the environment set up in Chapter 1, Hello NDK, and JNI programming in Chapter 2, Java Native Interface. To build Android NDK applications, we'll also need to use the ...

Get Android Native Development Kit Cookbook 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.