I'm doing an Android service.

I'm doing an Android service. It includes Motion Sensor, Location Sensor and the Telephony framework. After put it all together the application is crashing with Segmentation fault (11) that doesn't helps nothing. Following the crash debug finish here:
procedure BindAppGlueEvents()
AndroidAppGlue := PANativeActivity(System.DelphiActivity)^.instance;

I tried do comment some lines, now the app should only call a notification and exit, but also fails. I waste a lot of hours yesterday trying to make it run again.
Running Delphi Tokyo with Java 8.
Thanks for any help

Comments