java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hello/com.hello.HellowordActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • ArcGIS Android HelloWorld MapView InflateException
    via Geographic Information Systems by Pradeep
    ,
  • Android - ArcGIS for MapView in Android Studio
    via Stack Overflow by Rani
    ,
  • ExceptionInitializerError
    via GitHub by roundhill
    ,
  • BUILD FAILED.
    via GitHub by aidsadulta
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hello/com.hello.HellowordActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) at android.app.ActivityThread.access$600(ActivityThread.java:123) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView at android.view.LayoutInflater.createView(LayoutInflater.java:606) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680) at android.view.LayoutInflater.rInflate(LayoutInflater.java:739) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:251) at android.app.Activity.setContentView(Activity.java:1835) at com.hello.HellowordActivity.onCreate(HellowordActivity.java:18) at android.app.Activity.performCreate(Activity.java:4465) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) at android.view.LayoutInflater.createView(LayoutInflater.java:586) ... 22 more Caused by: java.lang.ExceptionInInitializerError at com.esri.android.map.MapView.a(Unknown Source) at com.esri.android.map.MapView.<init>(Unknown Source) ... 25 more Caused by: java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:365) at java.lang.System.loadLibrary(System.java:535) at com.esri.core.internal.util.e$1.initialize(Unknown Source) at com.esri.android.io.a.a(Unknown Source) at com.esri.android.map.MapSurface.<clinit>(Unknown Source) ... 27 more

    Users with the same issue

    Unknown visitor2 times, last one,
    Macapon
    Macapon33 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    271 more bugmates