I had two android apps that I have been working on start crashing on start up after updating to this VS 16.7.0 when debugged on a actual android device.
Both crash before any breakpoints can be hit.
In the output I got this (for both apps):
08-11 12:57:35.716 D/Mono (11135): DllImport error loading library '__Internal': 'Could not load library: Library '/system/lib64/libmonodroid.so' not found.'.
.
.
.
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 librariesused by your application.
No native Android stacktrace (see debuggerd output).=================================================================
Basic Fault Address Reporting
Memory around native instruction pointer (0x5f656b6f766e69):0x5f656b6f766e59
08-11 12:57:37.769 W/idjoey.hemproa(11135): 0xebadde09 skipped times: 0
08-11 12:57:37.770 F/libc (11135): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x5f656b6f766e59 in tid 11135 (id.road), pid 11135 (idjoey.hemproad).
After trying a ton of things…
I had to create a blank mobile app, placed the android project into Road and carefully replace all the code and all the libraries in that empty android project with the original android road code and libraries. After doing that it now works fine.
But my question is why??? Why did this happen?
And for my second project do I need to fix it the painful way I fixed my first app?