title: How to package native commandline application in apk?
body: <p>I would like to package an Android native commandline application into an apk.  I have the application building with ndk-build which uses jni/Android.mk.  The output is in libs/armeabi/&lt;MyApp&gt;.  I also have the apk building with ant.  However, the apk does not seem to pick up the commandline application.  If I unzip the apk the app is not in there.</p>
  
  <p>What do I need to do to get ant to include a pre-built commandline app?  </p>
  
  <p>Also, what do I need to do so that ant runs ndk-build?  (This was already answered: <a href="https://stackoverflow.com/questions/7432449/android-ndk-build-with-ant-script">Android NDK build with ANT script</a>)</p>