Delphi Android service crash when add FMX.types declaration

  

I have Delphi 11 Alexandria, and I’ve recreated the simple demo to "make an Android Service".
It works fine when I run it on my Android phone, so now I want to add more complexity to the service by adding a TTimer component to the TDataModule, but when I add the TTimer then the app crashes when started.
Then I remove the TTimer component from the TDataModule and run again, but the app crashes again.
If I then remove the declaration of FMX.Types from the service (it was added when I put the TTimer on the TDataModule), then the app run fine again.
Why is it not possible to add FMX.Types into an Android service?
Is it not possible to use TTimer in an Android service?

Comments are closed.