Vandrovnik 225 Posted September 24 Hello, I have created a new blank FMX application, added one button, set target to Android 64bit, build, run - and get "Project Test125.apk raised exception class Segmentation fault (11)." It works fine when targeted to Anrdoid 32bit. Please do you havy any idea how to find the source of this problem? (Because the same unfortunatelly happens in my real application.) Debugging does not work (already a few versions of Delphi...), or the error occurs too soon to reach the breakpoint on the very first line in .dpr. Kind regards, Karel Share this post Link to post
Dave Nottage 644 Posted September 24 42 minutes ago, Vandrovnik said: I have created a new blank FMX application, added one button, set target to Android 64bit, build, run - and get "Project Test125.apk raised exception class Segmentation fault (11)." It works fine when targeted to Anrdoid 32bit. Can you upload the 64-bit .apk somewhere? (here if possible) Share this post Link to post
Vandrovnik 225 Posted September 24 5 minutes ago, Dave Nottage said: Can you upload the 64-bit .apk somewhere? (here if possible) I have uploaded it here: https://www.rysovo.cz/Cyklotrek.apk (18.2 MB) From other testing it seems that both applications (test and Cyklotrek) make a Segmentation fault whenever I try to run them directly from Delphi. When started manualy on tablet, empty application works; Cyklotrek works on Android 13, but freezes on launcher icon on Android 15. Share this post Link to post
Dave Nottage 644 Posted September 24 13 minutes ago, Vandrovnik said: I have uploaded it here: https://www.rysovo.cz/Cyklotrek.apk (18.2 MB) Actually, I meant the one for a blank app. As for this one, in the logcat messages there's this message: java.lang.SecurityException: cz.cyklotrek.Cyklotrek: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts I cannot determine what the cause is without seeing your code, however it's related to this. 1 Share this post Link to post
Vandrovnik 225 Posted September 25 11 hours ago, Dave Nottage said: Actually, I meant the one for a blank app. As for this one, in the logcat messages there's this message: java.lang.SecurityException: cz.cyklotrek.Cyklotrek: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts I cannot determine what the cause is without seeing your code, however it's related to this. Thank you very much! I will have a look at obtaining these logs, never seen them before... It was related to broadcast receiver, which I have used for Android barcode readers (and can be removed from this app, it was there more for testing than for real use case). Please how to get RECEIVER_EXPORTED? I have found it in interfaces JContextClass and Jcontent_ContextCompatClass, but where to get them? Share this post Link to post
Dave Nottage 644 Posted September 25 2 hours ago, Vandrovnik said: Please how to get RECEIVER_EXPORTED? TJContext.JavaClass.RECEIVER_EXPORTED 1 Share this post Link to post