When building my MAUI app for Android i get MSB3073 error

DavidR 30 Reputation points
2023-04-07T18:51:56.0166667+00:00

Hi, when i try to build my MAUI application for .net7-android i get the following warning:

Description MSB3073: The command ""C:\Program Files (x86)\Android\android-sdk\platform-tools\adb" -s ZY22BL2K84 uninstall -k "de.rnd_games.thetavern"" exited with code 1.

I don#t know if its the problem but when i build the apk from the release und install it manually on my device (NOT deploying at) the app instantly crashes. But when i deplay it in debug mode on my mobile everything works fine.
Can anyone please help? Thank you

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,497 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rui Oliveira 0 Reputation points
    2024-05-17T09:05:41.15+00:00

    I have the same problem when starting the App via Visual Studio.

    Severity Code Description Project File Line Suppression State Details

    Warning MSB3073: The command ""C:\Program Files (x86)\Android\android-sdk\platform-tools\adb" -s emulator-5556 uninstall -k "com.companyname.app3_webview"" exited with code 1.

    On Command line it worked between "" Just like this:

    "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb" -s emulator-5556 uninstall -k "

    Can you help pls?

    0 comments No comments