O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – preparing Ubuntu Linux for Android development

To work with Android NDK, we need to check and install some system packages and utilities:

  1. First, Glibc (the GNU C standard library, in version 2.7 or later) must be installed. It is usually shipped with Linux systems by default. Check its version using the following command:
    $ ldd -–version
    
    Time for action – preparing Ubuntu Linux for Android development
  2. We also need the Make build tool for native code. Installation can be performed using the following command:
    $ sudo apt-get install build-essential
    

    Alternatively, Make can be installed through Ubuntu Software Center. Look for build-essential in the dedicated search box and install the packages found: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required