Error : System.NotSupportedException: Could not activate JNI Handle 0x7fca1a7480 (key_handle 0x2ad6405) of Java type 'Esri/ArcGISRuntime/UI/MapView' as managed type 'Esri.ArcGISRuntime.UI.MapView'.
I am facing this error while working with ESRI map in a existing project.
Below is the package information -
package id="Esri.ArcGISRuntime.Xamarin.Android" version="100.2.0" targetFramework="monoandroid60"
This error exists in version="100.2.1" also.
I have followed all replies of this thread : System.NotSupportedException: Could not activate JNI Handle 0x7fca1a7480 (key_handle 0x2ad6405) of ...
But that didn't work for me.
Please reply with some solution ASAP.
Hi,
Please can you provide more information about your current Android project settings? (Android target framework, supported architectures enabled, etc).
Cheers
Mike
Hi,
Below are the details-
Android target framework : Android 6.0 (Marshmallow)
Supported Architectures : armeabi; armeabi-v7a; x86
Package Information :
package id="Esri.ArcGISRuntime.Hydrography" version="100.2.0" targetFramework="monoandroid80"
package id="Esri.ArcGISRuntime.Xamarin.Android" version="100.2.0" targetFramework="monoandroid80"
Hi Mike,
Please let me know if any other detail I need to provide and reply with some solution ASAP as I am stuck.
Hi,
It sounds like you might be running into Could not activate JNI Handle — Xamarin Forums ?
Cheers
Mike
If any of you are experiencing this issue on a device running Android v4.2 or older (API level 17 or below), try adding the following line of code to the Application's constructor:
Java.Lang.JavaSystem.LoadLibrary("runtimecore");