AnsweredAssumed Answered

ArcGisRuntime SDK for #Xamarin Android crashes on #Android 10

Question asked by amit.taparia on Aug 28, 2020
Latest reply on Sep 1, 2020 by mnielsen-esristaff

ArcGisRuntime SDK for #Xamarin Android crashes on #Android 10 on the following line in code:

ArcGISRuntimeEnvironment.SetLicense(license)

 

license information passed is free lite version.

 

This issue is only happening on Android OS 10. On Android OS < 10, its working perfectly fine.#

We are running SDK version 100.5

 

Here is what I am getting in the logs:

=================================================================
Native Crash Reporting
=================================================================
Got a SEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

No native Android stacktrace (see debuggerd output).

=================================================================
Basic Fault Address Reporting
=================================================================
08-28 14:24:19.770 W/com.infor.ips( 2761): 0xebadde09 skipped times: 0
Memory around native instruction pointer (0x78274854cc):0x78274854bc 20 01 00 54 f3 03 02 aa f4 03 01 aa f5 03 00 aa ..T............
0x78274854cc 81 16 40 38 e0 03 15 aa 07 00 00 94 7f 02 14 eb ..@8............
0x78274854dc 81 ff ff 54 fd 7b 42 a9 f4 4f 41 a9 f5 07 43 f8 ...T.{B..OA...C.
0x78274854ec c0 03 5f d6 ff 03 01 d1 f4 4f 02 a9 fd 7b 03 a9 .._......O...{..

=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at Java.Interop.NativeMethods:java_interop_jnienv_call_static_void_method_a <0x00007>
at StaticMethods:CallStaticVoidMethod <0x00277>
at JniStaticMethods:InvokeVoidMethod <0x00107>
at Java.Lang.JavaSystem:LoadLibrary <0x001af>
at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment:Initialize <0x0010b>
at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment:SetLicense <0x0007f>
at Infor.Mobile.Core.Droid.UI.Mapping.EsriMapEnvironmentManager:SetLicenses <0x0008-28 14:24:19.771 F/libc ( 2761): Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x794de51d64 in tid 2761 (<appname>), pid 2761 (<appname>)

Outcomes