AnsweredAssumed Answered

Xamarin.Forms Android map won't load

Question asked by ptallett@microsoft.com on Feb 8, 2018
Latest reply on Feb 17, 2018 by ptallett@microsoft.com

Hi!

 

I have ArcGIS working on iOS and Windows UWP, but my shared page won't load on Android. I get the following error at runtime (it all builds okay):

 

02-08 22:37:39.244 D/Mono (23711): DllImport searching in: 'libRuntimeCoreNet' ('libRuntimeCoreNet.so').
02-08 22:37:39.244 D/Mono (23711): Searching for 'CoreRT_MapView_create'.
02-08 22:37:39.244 D/Mono (23711): Probing 'CoreRT_MapView_create'.
02-08 22:37:39.244 D/Mono (23711): Found as 'CoreRT_MapView_create'.
02-08 22:37:39.244 W/dalvikvm(23711): Unable to resolve superclass of LEsri/ArcGISRuntime/UI/MapView; (3279)
02-08 22:37:39.244 W/dalvikvm(23711): Link of class 'LEsri/ArcGISRuntime/UI/MapView;' failed
02-08 22:37:39.254 W/dalvikvm(23711): Unable to resolve superclass of LEsri/ArcGISRuntime/UI/MapView; (3279)
02-08 22:37:39.254 W/dalvikvm(23711): Link of class 'LEsri/ArcGISRuntime/UI/MapView;' failed

 

I have added NuGet's for Esri.ArcGISRuntime and Esri.ArcGISRuntime.Xamarin.Forms to my Android project.

 

Any help appreciated!

Cheers,

Paul

Outcomes