1. Are you ready for the Galaxy S20? Here is everything we know so far!

Apps How do I use the NDK

Discussion in 'Android Development' started by AnotherGameDev, Feb 14, 2011.

  1. AnotherGameDev

    Thread Starter

    Hello everyone,

    I'm just getting started with Android Development but I am already able to program in java and c++ using OpenGL.
    My PC runs Ubuntu 10.10 and Eclipse and the Android SDK is also installed.

    What I need to know is how I can compile C++ code with the NDK r5b. Is it possible that I may integrate the NDK into Eclipse?

    Thank you.


  2. paulscode

    paulscode Member

    NDK is generally used from the command line, but there are a couple of ways to integrate it into Eclipse. The easiest way is with Sequoyah. First, install the Sequoyah Android Native Support plug-in for Eclipse. The Sequoyah project can be found here:
    Sequoyah Project

    Once you get that installed, you will be able to right-click on an Android project in Eclipse and choose the "Add native support" option. That will change perspectives to a fully integrated development environment for building, debugging, etc.

Share This Page