How to Fix Android.Os.Deadobjectexception Android X

How to fix android.os.DeadObjectException android X

This means that your service had already stopped - either killed from the OS, or stopped from your application.

Does this problem happen every time you debug your project?

Override your service's onDestroy() method and watch what event flow leads to it. If you catch DeadObjectException without going through this method, your service should have been killed by the OS.

How to fix android.os.DeadObjectException android X

This means that your service had already stopped - either killed from the OS, or stopped from your application.

Does this problem happen every time you debug your project?

Override your service's onDestroy() method and watch what event flow leads to it. If you catch DeadObjectException without going through this method, your service should have been killed by the OS.

android.os.deadobjectexception in service android

you are using the instance of an object that no longer exist in memory as parent process is stopped.



Related Topics



Leave a reply



Submit