A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Hello,
Welcome to our Microsoft Q&A platform!
I download your sample and sign in as an apk. Then install the apk on a physical device, the application works as expected. It seems there is nothing wrong with the code. The problem should be caused by the way you archive the project. We need to sign the apk after archiving, please make sure the steps are all correct. You could check the following doc:
https://learn.microsoft.com/en-us/xamarin/android/deploy-test/signing/?tabs=windows
And how do you set the configs about the release mode? I package your sample without modifying any settings. If it still doesn't work after signing the apk, try to uninstall the application from the test device and clear the application data, then reinstall the apk. Or try to install the apk on another physical device for test.
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.