title: ArcGIS - Unsatisfied link error find library returned null - Hello World sample app
body: <p>This is my first time into the ArcGIS but not the first time for Android. I am an Android developer. For one of our recent projects, i am exploring the ArcGIS modules/samples. I did the following steps:</p>
  
  <ol>
  <li>Installed Eclipse JUNO (latest) - Since my previous version got corrupted, had to replace the system.</li>
  <li>Downloaded ArcGIS runtime SDK for Android 10.1.1.</li>
  <li>Installed the ArcGIS plugin from the downloaded zip file obtained from step 2.</li>
  <li>Restarted Eclipse/System.</li>
  </ol>
  
  <p>Now to explore the basic "Hello World" ArcGIS app, i did the following steps.</p>
  
  <ol>
  <li>File - New - Project - In the new window - selected the "ArcGIS for Android" option.</li>
  <li>Out of the 2 options i selected "ArcGIS samples for Android". This option opened another window to fetch the samples from local or online.</li>
  <li>I selected "LOCAL".</li>
  <li>Under "Maps" section, i selected the "Hello World" sample project.</li>
  <li>Now the Hello World project is in my workspace.</li>
  <li>Cleaned and build the project. All errors gone.</li>
  <li>Run the project.</li>
  </ol>
  
  <p>I am obtaining the following error log:</p>
  
  <pre><code>06-26 16:36:15.678: E/AndroidRuntime(2672): FATAL EXCEPTION: main
  06-26 16:36:15.678: E/AndroidRuntime(2672): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esri.arcgis.android.samples.helloworld/com.esri.arcgis.android.samples.helloworld.HelloWorld}: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.access$600(ActivityThread.java:130)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.os.Handler.dispatchMessage(Handler.java:99)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.os.Looper.loop(Looper.java:137)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.main(ActivityThread.java:4745)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Method.invokeNative(Native Method)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Method.invoke(Method.java:511)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at dalvik.system.NativeStart.main(Native Method)
  06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.Activity.setContentView(Activity.java:1867)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.arcgis.android.samples.helloworld.HelloWorld.onCreate(HelloWorld.java:42)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.Activity.performCreate(Activity.java:5008)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
  06-26 16:36:15.678: E/AndroidRuntime(2672): ... 11 more
  06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: java.lang.reflect.InvocationTargetException
  06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Constructor.constructNative(Native Method)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
  06-26 16:36:15.678: E/AndroidRuntime(2672): ... 22 more
  06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: java.lang.ExceptionInInitializerError
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.map.MapView.a(Unknown Source)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.map.MapView.&lt;init&gt;(Unknown Source)
  06-26 16:36:15.678: E/AndroidRuntime(2672): ... 25 more
  06-26 16:36:15.678: E/AndroidRuntime(2672): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java: findLibrary returned null
  06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.Runtime.loadLibrary(Runtime.java:365)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at java.lang.System.loadLibrary(System.java:535)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.core.internal.util.e$1.initialize(Unknown Source)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.io.a.a(Unknown Source)
  06-26 16:36:15.678: E/AndroidRuntime(2672): at com.esri.android.map.MapSurface.&lt;clinit&gt;(Unknown Source)
  06-26 16:36:15.678: E/AndroidRuntime(2672): ... 27 more
  </code></pre>
  
  <p>Later i followed the ArcGIS forums and came across many links for example
  <a href="http://forums.arcgis.com/threads/484...-returned-null" rel="nofollow noreferrer">http://forums.arcgis.com/threads/484...-returned-null</a>
  <a href="http://forums.arcgis.com/threads/850...ello-World-run" rel="nofollow noreferrer">http://forums.arcgis.com/threads/850...ello-World-run</a>
  but alas the error was never cleared.</p>
  
  <p>I encountered a similar problem with one of my Android projects. It had the libs folder with .so files for armeabi and armeabi-v7a. I converted the project into a library and used it one of my another project. Since it was a small project i didn't needed to explore the converted library project. This is due to the referencing of the .so files or library files related to the Eclipse updates. I am still unsure how to configure the .so files into the build path so that there is no "Unsatisfied link" error.</p>
  
  <p>Please see the screenshot attached for the Build Path of this project.
  <img src="https://i.stack.imgur.com/5SNOJ.jpg" alt="Build Path image"></p>