Waydroid Apps Crash Propagation / Session Crashing (+Workaround)
-
Just sharing, and maybe bringing awareness to an issue I had with WayDroid.
Basically, the result of this issue, is that all waydroid sessions will become entirely unresponsive after an app running under waydroid crashes, with a low rate of recovery.
Ending any/all waydroid's apps shown as running in UT would not work, nor would tapping waydroid's icon or any apps running under waydroid in UT. The latter would not do anything.Before finding the below workaround, the only solution I found to get back into waydroid's UI was to reboot my phone.
I noticed this problem was especially rampant when attempting to run child apps that had Google Play Services dependencies, but then failed to find those services, like YouTube. (resulting in an app crash)
Session Crash Workaround
If this happens to you, open your terminal app in UT or via ADB/SSH and enter the following two commands:
waydroid session stop waydroid show-full-ui
The first command will terminate all (broken) waydroid instances running, and the second will restart the waydroid app and bring it into focus.
Hope this helps someone. -
I only just now realized this workaround is a menu feature in "Waydroid Helper" app from OpenStore.
-
Hi @bamboy360
I see you made quite some posts here.
I appreciate your enthusiasm for Ubuntu Touch and your intention to help however you can.I just wanted to clarify that the forum is intended to discuss topics with the community.
I'm explaining this because some posts can be interpreted as bug reports or feature requests.
For bugs and requests it's best to create an issue on Gitlab or to the relevant project (Waydroid or a specific app).Cheers mate