[MAUI 9.0 Preview 6] Android Maui app hangs up at splash screen when PublishTrimmed is true / release configuration
Closed this issue · 1 comments
janne-hmp commented
Android framework version
net9.0-android
Affected platform version
Android 14 (hang up) and Android 13 (immediate crash)
Description
My app GnollHack (https://github.com/hyvanmielenpelit/GnollHack) hangs up in release configuration on Android 14 if PublishTrimmed is true. When PublishTrimmed is false (also with RunAOTCompilation being false), the app starts fine. I might note that trimming does not seem to currently work on iOS either. In both cases, something important seems to have been trimmed off.
On another, very old test device running on Android 13, the app crashes immediately, and Sentry breadcrumbs look as follows:
Steps to Reproduce
- Build GnollHackM with PublishTrimmed = true
- Start the app
- The app hangs up at splash screen
Did you find any workaround?
PublishTrimmed needs to be set to false.
Relevant log output
No response
janne-hmp commented
This seems to be fixes now, too, in Preview 7.