MAUI .Net10 app crashing on startup only when installed from Google Play

ByteDigger 0 Reputation points
2026-02-03T06:14:45.9766667+00:00

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)

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2026-02-03T06:15:27.64+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The issue you're encountering with your MAUI .NET 10 app crashing on startup when installed from the Google Play Store, specifically the UnsatisfiedLinkError, suggests that there may be a problem with the native libraries not being loaded correctly. Here are some troubleshooting steps you can consider:

    1. Ensure Native Libraries are Included: Make sure that the native libraries your application depends on are included in the APK. Sometimes, during the build process, certain libraries may not be packaged correctly.
    2. Check for ProGuard/R8 Configuration: If you're using code shrinking (trimming), ensure that your ProGuard or R8 configuration is not stripping out necessary native methods. You might need to add rules to keep the required classes and methods.
    3. Verify Application Permissions: Ensure that your application has the necessary permissions defined in the Android manifest, especially if the library requires specific permissions to function.
    4. Test Different Build Configurations: Since the app works in debug and release modes on an emulator or connected device, try creating a signed APK and testing it on a physical device to replicate the issue.
    5. Check for ABI Compatibility: Make sure that the APK is built for the correct ABI (Application Binary Interface) that matches the device architecture. If the device architecture is not supported, it could lead to crashes.
    6. Logcat Analysis: Since you're not seeing any logs, ensure that you have proper logging enabled and check the logcat output for any other errors or warnings that might give you more context about the crash.
    7. Disable Fast Deployment: If you haven't already, consider disabling Fast Deployment by setting EmbedAssembliesIntoApk = True in your project file. This can help with issues related to native crashes.

    If these steps do not resolve the issue, consider filing an issue with detailed logs and information on the MAUI GitHub repository for further assistance.


    References:

    0 comments No comments

  2. Jack Dang (WICLOUD CORPORATION) 10,415 Reputation points Microsoft External Staff Moderator
    2026-02-03T08:04:22.63+00:00

    Hi @ByteDigger ,

    Thanks for reaching out.

    It seems the crash may be happening because the app’s native code isn’t being loaded properly in the version distributed via Google Play. The UnsatisfiedLinkError for MauiApplication.n_onCreate() generally indicates that the native library containing that method isn’t present in the packaged APK/AAB.

    You could try the following steps to see if they help address the problem:

    1. Set Linker behavior to “Link SDK assemblies only” rather than “Link All” to reduce the chance of critical native code being trimmed.

    https://learn.microsoft.com/en-us/dotnet/android/building-apps/build-properties

    <PropertyGroup>
      <AndroidLinkMode>SdkOnly</AndroidLinkMode>
    </PropertyGroup>
    
    1. Make sure your build includes the correct ABIs (arm64-v8a, armeabi-v7a) under Android package settings.
    2. Build a Release APK or AAB and install it directly on a device using adb install to see if it launches properly before publishing.

    If the issue continues, further investigation of the packaged AAB and native libraries may be needed to pinpoint the exact cause.

    Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.