I was trying to run my application on my Android device using Android Studio, it runs fine otherwise but in this case some data was being deleted from my mobile phone and while that process wasn't done yet, Android studio was trying to install and run the app which caused my phone to get stuck for a while and restart.
So I would like to know if there is a way to get the full stack trace of the error and does this mean that my application is probably not properly structured and got killed in the middle of an important process?
Thank you.
This is the error I got at that time:
Installation failed with message Failed to finalize session : Unknown failure (cmd:Failure calling service package: Broken pipe (32)).
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
PS : I'm not asking about how to solve this error because my app runs, I want to understand what might have caused it.