App in Maui version 8 we are facing deployment issue

Pearl 81 Reputation points
2025-02-06T16:52:06.5133333+00:00

Hello,

I have developed an app in app in Maui version 8 and I have created an .apk for it. The apk gets installed on some devices and cannot be installed on some devices. I have tried wide range of make and models of cellphones/mobiles. I have tried the android phones with version 8,11, 12 and 14. It installs apps. But some other phones with version 10 and 14 (Different phone and make) doesn't allow to install the app at all. Can you please help me ?

Thanks in advance

Developer technologies | .NET | .NET MAUI
{count} votes

Answer accepted by question author
  1. Harry Vo (WICLOUD CORPORATION) 3,820 Reputation points Microsoft External Staff Moderator
    2025-08-20T07:00:49.3233333+00:00

    Hi @Pearl , sorry to bother you! I'm posting this answer to help others who might encounter the same issue.


    Thanks for sharing the update that creating a new project and adjusting the Target SDK versions to 34 and Minimum SDK to 26 resolved the issue.

    The reason for this solution is because some of the project configuration and manifest settings in your original MAUI project might be likely outdated or inconsistent. This can lead to compatibility problems where the APK installs fine on some devices but fails on others, especially newer Android versions that enforce stricter requirements.

    By creating a fresh MAUI project, you essentially reset the configuration to align with the latest tooling defaults. That new template automatically:

    • Configured the Target SDK to 34 (which is required for publishing on Android 14 and recommended by Google).
    • Set the Minimum SDK to 26, ensuring backward compatibility with supported devices.
    • Cleaned up any legacy or incorrect settings that could interfere with APK signing and installation.

    When you migrated your code into this clean project, you carried over only the logic/files and not the outdated metadata. As a result, the APK built from the new project was signed and packaged in a way that matched Android’s current requirements, so installation succeeded across all devices.


    I'm glad that you finally solved your issue. If my answer explains your workaround correctly, feel free to interact with the system accordingly!

    Thank you!

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Pearl 81 Reputation points
    2025-02-13T11:34:04.8666667+00:00

    Hello,

    I created a new project altogether and moved my classes and files to it.

    I changed versions in target as 34 and min SDK version as 26 and now its working properly.

    Thanks so much for you help

    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.