I am having a problem debugging an Android project. I can deploy the device and start it, everything works fine, but if I try to debug, the application will be deployed to the device and will open very shortly, a pop-up screen will appear, but the application will then close.
I am using Xamarin Forms on Visual Studio 2015.
The device is running Android Oreo (8.0.0). Another device running Android 6.0.1 is perfectly debugged.
The output shows the following:
InspectorDebugSession(11): StateChange: Start -> EntryPointBreakpointRegistered InspectorDebugSession(11): Constructed Android application is debugging. InspectorDebugSession(11): HandleTargetEvent: TargetExited InspectorDebugSession(11): Disposed Couldn't connect to logcat, GetProcessId returned: 0
I checked Logcat and it was having trouble finding the FFImageLoading library:
Time Device Name Type PID Tag Message 09-18 14:35:52.361 Huawei Nexus 6P Debug 1560 Mono AOT: image '/usr/local/lib/mono/aot-cache/arm/FFImageLoading.Platform.dll.so' not found: dlopen failed: library "/data/app/myapp.android.dev- WEb1bz8edgF7vwx6uCoZ-A==/lib/arm/libaot-FFImageLoading.Platform.dll.so" not found
I added the Nuget package for FFImageLoading to my projects, and the links to the Droid project show it, as in the image below:

pixel source share