title: Android App does not start on Armv6 - Unable to find native library
body: <p>I can't find the answer to the problem.</p>
  
  <p>I've developed an Android App available on the market.
  So far few peoeple bought it and it works, but one customer received this error:</p>
  
  <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esenthel.rts/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to find native library: Project
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
   at android.app.ActivityThread.access$1500(ActivityThread.java:117)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:130)
   at android.app.ActivityThread.main(ActivityThread.java:3687)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:507)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
   at dalvik.system.NativeStart.main(Native Method)
  Caused by: java.lang.IllegalArgumentException: Unable to find native library: Project
   at android.app.NativeActivity.onCreate(NativeActivity.java:187)
   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
  </code></pre>
  
  <p>It seems as if the app file was not found "Unable to find native library: Project"</p>
  
  <p>The customer says he has ARMV6 CPU.
  I did compile the app for ARM5 and ARM7.
  When looking into the APK file, I can confirm I have these files:</p>
  
  <pre><code>lib/armeabi/libProject.so
  lib/armeabi-v7a/libProject.so
  </code></pre>
  
  <p>App was built using latest Android NDK SDK, no Java code inside, only C++. Built manually using Ant (no eclipse involved)</p>
  
  <p>AndroidManifest.xml</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.esenthel.rts" android:versionCode="2" android:versionName="2"&gt;
     &lt;uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/&gt;
     &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
     &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
     &lt;uses-permission android:name="android.permission.GET_ACCOUNTS"/&gt;
     &lt;uses-feature android:glEsVersion="0x00020000"/&gt;
     &lt;application android:label="Esenthel RTS" android:hasCode="false" android:debuggable="false" android:icon="@drawable/icon"&gt;
        &lt;activity android:name="android.app.NativeActivity" android:label="Esenthel RTS" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="fullSensor" android:configChanges="orientation"&gt;
           &lt;meta-data android:name="android.app.lib_name" android:value="Project"/&gt;
           &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN"/&gt;
              &lt;category android:name="android.intent.category.LAUNCHER"/&gt;
           &lt;/intent-filter&gt;
        &lt;/activity&gt;
     &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>The app in question is here <a href="https://play.google.com/store/apps/details?id=com.esenthel.rts" rel="nofollow">https://play.google.com/store/apps/details?id=com.esenthel.rts</a></p>
  
  <p>Let me repeat again, the app works on ARM7 - Asus Transformer Prime, Htc Evo 3D, Sony Ericsson Xperia Neo, Samsung Galaxy Tab 10.1</p>
  
  <p>But fails to start on unknown ARM6 CPU</p>