We are working with Xamarin Forms + Runtime and this does not seem to work with emulators/devices having android 8. Attached is a simple implementation to replicate the issue.
Have you tried disabling "Use Shared Runtime" and "Use Fast Deployment?" Those are under Android Options --> Packaging Properties on the project's properties page. Then uninstall the app from emulator or device and do a full rebuild/redeploy.
So there were 2 issues, on the emulator as you suggested.
disabling "Use Shared Runtime" and "Use Fast Deployment?" worked fine with the test app.
But in our app, we had one more issue caused due to the version 4.2.2
ArcGIS Runtime 100.2.1 does not work with Xamarin Forms and Android 4.2.2
The fix for the above was to include this.
JavaSystem.LoadLibrary("runtimecore");//which did not work with version 8.
So the final fix was to do this.
if (Build.VERSION.SdkInt <= BuildVersionCodes.JellyBean) JavaSystem.LoadLibrary("runtimecore"); // fix for the android version 4.2
Thanks for letting us know that the LoadLibrary call fails for you on newer versions of Android. I suspect that will fail on Android 7 and up due to restrictions that were introduce in the loading of 3rd party libraries at run-time. Also, I would expect that disabling "Shared Runtime" and "Fast Deployment" on Android versions prior to 8.0 is not necessary. At least, I've not seen a problem with that at earlier versions.
Retrieving data ...