Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2022 MAUI - apk does not install on my phone

I am currently developing an application which appears fine in the Android emulator but I cannot install it on my phone (Xiaomi mi8), it gives an error saying "App not installed". I tried on several phones with the same result.

could someone give me some ideas about what to do?

thanks a lot.

like image 619
YaKs Avatar asked Sep 01 '25 01:09

YaKs


1 Answers

It can be anything.

Common mistake is not signing the apk file.

https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli

The article is quite long, so if you have problems somewhere, ask.

Edit, Some people swear this is the right way: https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-ad-hoc

However, I like to make a single bat file that I can call from anywhere. Your choice...

like image 178
H.A.H. Avatar answered Sep 02 '25 17:09

H.A.H.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!