admin管理员组文章数量:1305642
I created a default .NET MAUI app by selecting "Create a new MAUI project" in Visual Studio without modifying any code. The only change I made was in the .csproj
file to directly generate an .apk
instead of an .aab
by adding:
<AndroidPackageFormat>apk</AndroidPackageFormat>
I built the project in Release mode, signed the generated APK using my own keystore (not purchased), and transferred the file to my phone via WhatsApp.
APK installation was successful, but when I launch the app, it crashes immediately. The app runs fine in Debug mode with Emulator from Visual Studio.
What could be causing this issue? How can I fix it?
IMPORTANT: I also tried generating the .aab
file, converting it to .apk
file, sign it with keystore and install it by USB debugging connection to phone, same results i.e. the app installs but crashes immediately.
Emulator View (both Release and Debug)
本文标签: cMAUI App Crashes Immediately After Installing Signed APK on AndroidStack Overflow
版权声明:本文标题:c# - MAUI App Crashes Immediately After Installing Signed APK on Android - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741801951a2398276.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论