App do not start after shutting it down via the app manager [on hold]

  

I have a problem, But a little hard to explain. i have an android app made in delphi. When the app freeze because of an infinite loop (or any other kind of freezing), we can decide to shut it down (via the android app manager). This was working ok before I also add a service to the app.

Now when i shut down the app that is frozen and try to relaunch it immediately after, then i can see the starting screen, but the app is still frozen and i need to wait one min for the android system message “app xxx is working slowly, do you want to close it now?”, then click ok, to be able to restart it.

how can i avoid and solve this ?

Comments are closed.