After Delphi 13 Community Edition became available, I started migrating my Android application ZAXXON Remake to the new version.
For quite some time, users have been reporting that the app displays only a black screen immediately after startup and then terminates on certain devices. After extensive testing, I found that the behavior strongly depends on the device manufacturer. The app runs reliably on Samsung devices, while it reproducibly crashes on Xiaomi devices.
To isolate the root cause, I created a heavily simplified test application that contains nothing more than the startup form. This test app also runs without issues on Samsung devices but crashes immediately after launch on a Huawei P30.
Troubleshooting has proven difficult because the crash occurs at different points depending on the debugging configuration. No meaningful stack trace or useful Logcat output is generated. In some cases, the application terminates so early that neither the Delphi debugger nor other diagnostic tools provide any helpful information.
At this point, I suspect that the problem may be related to a Delphi/FireMonkey framework component or its initialization code that is executed during application startup and encounters an issue with certain manufacturer-specific Android customizations.
I would be interested to know:
Has anyone experienced similar issues with Delphi 12/13 and FireMonkey on Huawei or Xiaomi devices?
Are there any known incompatibilities with specific Android versions or manufacturer-specific modifications?
What methods are available for analyzing crashes that occur during the early initialization phase and do not produce a usable stack trace?
Any hints, suggestions, or comparable experiences would be greatly appreciated.