You should build the native code (C++) by running ndk-build
command from cygwin command-line. Open up the Cygwin.bat
in your installation directory to access the command-line and change the directory to the root folder of ImageTarget
project and run this:
ndk-build
If it successfully builds the native codes, you should see a lib
folder added to your project in Eclipse. Now, you may build your APK and run it on your device. You should repeat this step every time you make a change to native codes.