Hi all,
I've just upgraded VS to 2026, which I use to develop mobile MAUI project. That involved targeting .Net 10 (.NET MAUI Tools 18.0.345 (fbde6c01f0)) instead of .Net 9. in the MAUI project.
The Android app works perfectly in debug or release mode when run in an emulator or a device connected to my PC. But if I distribute the application via the Google store and install it on a mobile phone, it will crash on startup (... I briefly see the splash screen).
I see the below error in logcat. I've tried to disable trimming. I've added various console debug statements to MainActivity (... and other places) but nothing's logged, which leads me to believe the app is crashing very early in the launch process.
Has anybody experienced similar issues? How did you go about troubleshooting?
Thanks.
02-03 16:54:45.016 Sony XQ-CC54 Info 23180 MonoDroid java.lang.UnsatisfiedLinkError: No implementation found for void crc6488302ad6e9e4df1a.MauiApplication.n_onCreate() (tried Java_crc6488302ad6e9e4df1a_MauiApplication_n_1onCreate and Java_crc6488302ad6e9e4df1a_MauiApplication_n_1onCreate__) - is the library loaded, e.g. System.loadLibrary?
at crc6488302ad6e9e4df1a.MauiApplication.n_onCreate(Native Method)
at crc6488302ad6e9e4df1a.MauiApplication.onCreate(MauiApplication.java:17)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1317)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7017)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2237)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8223)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:977)