AnsweredAssumed Answered

System.DllNotFoundException: libRuntimeCoreNet

Question asked by PetrPokorny on Feb 2, 2018
Latest reply on Apr 18, 2018 by mnielsen-esristaff

We have Xamarin android app that uses ArcGIS SDK for Xamarin

After the app is installed on the device and I try to lauch it, I get the following exception:

 

 

Xamarin caused by: android.runtime.JavaProxyThrowable: System.DllNotFoundException: libRuntimeCoreNet at (wrapper managed-to-native) RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment:CoreRT_ArcGISRuntimeEnvironment_enableBreakOnException (bool,intptr&)
at RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.EnableBreakOnException (System.Boolean enable) [0x00000] in :0
at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize () [0x00035] in :0
at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.SetLicense (System.String licenseKey) [0x00009] in :0
at NeoTreks.PlowOps.Android.Activities.MainActivity.OnCreate (Android.OS.Bundle savedInstanceState) [0x0003a] in <2e8073a2350242dc8c655650b4525319>:0
at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x0000f] in <3db0c94344514ae1a2cf0f64cb1a487a>:0
at (wrapper dynamic-method) System.Object:cd243ea0-e72b-4ef1-afd9-336733c9c36a (intptr,intptr,intptr)
at md515cc6cdff08daa7d20d96887e3190398.MainActivity.n_onCreate(Native Method)
at md515cc6cdff08daa7d20d96887e3190398.MainActivity.onCreate(MainActivity.java:35)
at android.app.Activity.performCreate(Activity.java:5993)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2375)
at android.app.ActivityThread.access$900(ActivityThread.java:147)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1283)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:910)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:705)

Does anyone know what is causing this exception and how to solve it?

 

We are using Esri.ArcGISRuntime.Xamarin.Android, version 100.2.0

Outcomes