<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Runtime errors on Android after updating ArcGISRuntime from 100.8 to 100.9 (&amp;quot;ArcGIS Runtime core library is inaccessible&amp;quot;) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-errors-on-android-after-updating/m-p/248024#M2896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Android project, could you try and add an explicit reference to the Esri.ArcGISRuntime.runtimes.Android nuget package and see if that addresses the issue? `&lt;A class="link-titled" href="https://www.nuget.org/packages/Esri.ArcGISRuntime.runtimes.Android/" title="https://www.nuget.org/packages/Esri.ArcGISRuntime.runtimes.Android/"&gt;NuGet Gallery | Esri.ArcGISRuntime.runtimes.Android 100.9.0&lt;/A&gt;&amp;nbsp;`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;I saw a similar issue posted on GitHub:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcgis-runtime-samples-dotnet%2Fissues%2F722" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/issues/722&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;, and ensured that we don't have x86 or x86_64 support enabled in our release builds as suggested there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should no longer be an issue, as we currently support those architectures. If you select an architecture not supported, you'd get a build error now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2020 20:05:20 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2020-09-15T20:05:20Z</dc:date>
    <item>
      <title>Runtime errors on Android after updating ArcGISRuntime from 100.8 to 100.9 ("ArcGIS Runtime core library is inaccessible")</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-errors-on-android-after-updating/m-p/248023#M2895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My team has a Xamarin Forms project (using Xamarin Forms 4.7.0.1239)&amp;nbsp;using the&amp;nbsp;ArcGIS .NET Runtime, which we are attempting to&amp;nbsp;update from 100.8 to 100.9. The upgrade went pretty smoothly for iOS and UWP, but on Android we have an issue. The application builds successfully, but at runtime we get this error message when attempting to create a Portal for signing in (basically the first thing our app does):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;System.TypeInitializationException: The type initializer for 'RuntimeCoreNet.GeneratedWrappers.CoreWrapperBase' threw an exception. ---&amp;gt; System.Exception: Failed to initialize ArcGIS Runtime core. The ArcGIS Runtime core library is inaccessible. ---&amp;gt; System.DllNotFoundException: libRuntimeCoreNet assembly:&amp;lt;unknown assembly&amp;gt; type:&amp;lt;unknown type&amp;gt; member:(null)&lt;BR /&gt; at (wrapper managed-to-native) RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.CoreRT_ArcGISRuntimeEnvironment_enableBreakOnException(bool,intptr&amp;amp;)&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.EnableBreakOnException (System.Boolean enable) [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize () [0x0007d] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; --- End of inner exception stack trace ---&lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize () [0x000db] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.OnBeforeFirstUseOfGeneratedWrapper () [0x00013] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreWrapperBase..cctor () [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; --- End of inner exception stack trace ---&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CorePortal..ctor (System.IntPtr handle) [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CorePortal..ctor (System.String uRL) [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.Portal.ArcGISPortal.CreateUnloadedPortal (System.Uri portalUri, System.Globalization.CultureInfo culture) [0x00010] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.Portal.ArcGISPortal.CreateAsync (System.Uri portalUri, System.Boolean loginRequired, System.Globalization.CultureInfo culture, System.Threading.CancellationToken cancellationToken) [0x00019] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at VertiGIS.Mobile.Modules.GenericApp.WelcomeViewModel.InitializeAgolPortalExtension () [0x00092] in &amp;lt;5da5ee6237484dd1afebfc6266c70a4d&amp;gt;:0 &lt;BR /&gt; at VertiGIS.Mobile.Modules.GenericApp.WelcomeViewModel.ExecuteSignInToAgolAsync () [0x00087] in &amp;lt;5da5ee6237484dd1afebfc6266c70a4d&amp;gt;:0 &lt;BR /&gt;[2020-09-14 13:57:01,920][ERROR] System.TypeInitializationException: The type initializer for 'RuntimeCoreNet.GeneratedWrappers.CoreWrapperBase' threw an exception. ---&amp;gt; System.Exception: Failed to initialize ArcGIS Runtime core. The ArcGIS Runtime core library is inaccessible. ---&amp;gt; System.DllNotFoundException: libRuntimeCoreNet assembly:&amp;lt;unknown assembly&amp;gt; type:&amp;lt;unknown type&amp;gt; member:(null)&lt;BR /&gt; at (wrapper managed-to-native) RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.CoreRT_ArcGISRuntimeEnvironment_enableBreakOnException(bool,intptr&amp;amp;)&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.EnableBreakOnException (System.Boolean enable) [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize () [0x0007d] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; --- End of inner exception stack trace ---&lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize () [0x000db] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.OnBeforeFirstUseOfGeneratedWrapper () [0x00013] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreWrapperBase..cctor () [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; --- End of inner exception stack trace ---&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CorePortal..ctor (System.IntPtr handle) [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CorePortal..ctor (System.String uRL) [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.Portal.ArcGISPortal.CreateUnloadedPortal (System.Uri portalUri, System.Globalization.CultureInfo culture) [0x00010] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.Portal.ArcGISPortal.CreateAsync (System.Uri portalUri, System.Boolean loginRequired, System.Globalization.CultureInfo culture, System.Threading.CancellationToken cancellationToken) [0x00019] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at VertiGIS.Mobile.Modules.GenericApp.WelcomeViewModel.InitializeAgolPortalExtension () [0x00092] in &amp;lt;5da5ee6237484dd1afebfc6266c70a4d&amp;gt;:0 &lt;BR /&gt; at VertiGIS.Mobile.Modules.GenericApp.WelcomeViewModel.ExecuteSignInToAgolAsync () [0x00087] in &amp;lt;5da5ee6237484dd1afebfc6266c70a4d&amp;gt;:0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The error state only happens&amp;nbsp;when the app is built by our Azure DevOps pipeline though; a co-worker and I are both able to build and run it without any issues when doing a&amp;nbsp;release build locally from Visual Studio. We haven't had this issue on the build server for 100.8 or any earlier&amp;nbsp;versions of the ArcGIS runtime.&lt;BR /&gt;I have ensured that the build server and my local machine have the same version of Visual Studio 2019 (version 16.7.3), Android&amp;nbsp;build tools (29.0.2) and Java SDK (1.8.0.25). One difference is that my machine is Windows 10 and the build server is Windows Server 2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a call to&amp;nbsp;Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize()&amp;nbsp;when the app loads and get the same kind of error with a shorter stack trace which may also be helpful:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Error in init: System.Exception: Failed to initialize ArcGIS Runtime core. The ArcGIS Runtime core library is inaccessible. ---&amp;gt; System.DllNotFoundException: libRuntimeCoreNet assembly:&amp;lt;unknown assembly&amp;gt; type:&amp;lt;unknown type&amp;gt; member:(null)&lt;BR /&gt; at (wrapper managed-to-native) RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.CoreRT_ArcGISRuntimeEnvironment_enableBreakOnException(bool,intptr&amp;amp;)&lt;BR /&gt; at RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.EnableBreakOnException (System.Boolean enable) [0x00000] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize () [0x0007d] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; --- End of inner exception stack trace ---&lt;BR /&gt; at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize () [0x000db] in &amp;lt;690269dd3d914be9b36ba5ea4ee75e34&amp;gt;:0 &lt;BR /&gt; at VertiGIS.Mobile.Viewer.MainActivity+&amp;lt;&amp;gt;c__DisplayClass0_0.&amp;lt;OnCreate&amp;gt;g__onLoadHandler|0 (System.Object sender, System.EventArgs args) [0x00054] in &amp;lt;43f0ca9a6fdd48b7b38d1f4a384cefd4&amp;gt;:0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw a similar issue posted on GitHub:&amp;nbsp;&lt;A class="jivelink1" href="https://github.com/Esri/arcgis-runtime-samples-dotnet/issues/722" title="https://github.com/Esri/arcgis-runtime-samples-dotnet/issues/722"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/issues/722&lt;/A&gt;, and ensured that we don't have x86 or x86_64 support enabled in our release builds as suggested there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've tested this on multiple Android devices, including a Galaxy A8 (Android 9), Pixel 2 XL (Android 9), and the Galaxy Tab S6 Lite (Android 10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions for how to resolve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2020 18:56:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/runtime-errors-on-android-after-updating/m-p/248023#M2895</guid>
      <dc:creator>FelicityRhone</dc:creator>
      <dc:date>2020-09-15T18:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime errors on Android after updating ArcGISRuntime from 100.8 to 100.9 ("ArcGIS Runtime core library is inaccessible")</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-errors-on-android-after-updating/m-p/248024#M2896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Android project, could you try and add an explicit reference to the Esri.ArcGISRuntime.runtimes.Android nuget package and see if that addresses the issue? `&lt;A class="link-titled" href="https://www.nuget.org/packages/Esri.ArcGISRuntime.runtimes.Android/" title="https://www.nuget.org/packages/Esri.ArcGISRuntime.runtimes.Android/"&gt;NuGet Gallery | Esri.ArcGISRuntime.runtimes.Android 100.9.0&lt;/A&gt;&amp;nbsp;`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;I saw a similar issue posted on GitHub:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcgis-runtime-samples-dotnet%2Fissues%2F722" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/issues/722&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;, and ensured that we don't have x86 or x86_64 support enabled in our release builds as suggested there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should no longer be an issue, as we currently support those architectures. If you select an architecture not supported, you'd get a build error now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2020 20:05:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/runtime-errors-on-android-after-updating/m-p/248024#M2896</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-09-15T20:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime errors on Android after updating ArcGISRuntime from 100.8 to 100.9 ("ArcGIS Runtime core library is inaccessible")</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/runtime-errors-on-android-after-updating/m-p/248025#M2897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morten,&lt;BR /&gt;Cool, that seems to have fixed it! Thank you for the suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2020 22:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/runtime-errors-on-android-after-updating/m-p/248025#M2897</guid>
      <dc:creator>FelicityRhone</dc:creator>
      <dc:date>2020-09-15T22:32:23Z</dc:date>
    </item>
  </channel>
</rss>

