App not installed as app isnt compatible with you phone

KasperSommer 10 Reputation points
2025-02-26T16:46:53.51+00:00

I have just created a brand new MAUI template from Visual Studio Code, but I cannot build and install the APK on my Android 13 (33) device.

proj:

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>

I have tried to add exported=true as suggested here, no change: https://learn.microsoft.com/en-us/answers/questions/2136171/android-apk-not-installed

Why is this happening and what can I do to fix the issue?

Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,955 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KasperSommer 10 Reputation points
    2025-02-26T21:47:43.9966667+00:00
    0 comments No comments

Your answer

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