MuntashirAkon / AppManager

A full-featured package manager and viewer for Android
https://muntashirakon.github.io/AppManager/
Other
4.96k stars 279 forks source link

Stuck at start up and install page with wireless ADB on #914

Closed fairyex closed 1 year ago

fairyex commented 2 years ago

Please check before submitting an issue

Describe the bug

enable and connect wireless ADB with appmanager, everything seems fine at the beginning, but when it running background after a long time(more then several hours), it would stuck at start up or apk install page.

Meanwhile other APPs that use wireless ADB are working fine.Reboot the phone could temporary solve the problem but it could reproduce everytime.

To Reproduce

  1. enable wireless ADB and connect with APP Manager
  2. let it running at background.

Expected behavior

No response

Screenshots

No response

Logs

No response

Device info

Additional context

No response

MuntashirAkon commented 1 year ago

it running background after a long time(more then several hours), it would stuck at start up or apk install page.

What exactly did you mean by running it in the background for a long time? Could you elaborate on that, such as what did you do to keep it running for that long period of time?

sobaee commented 1 year ago

it running background after a long time(more then several hours), it would stuck at start up or apk install page.

What exactly did you mean by running it in the background for a long time? Could you elaborate on that, such as what did you do to keep it running for that long period of time?

I think he simply means that if the app is on Wifi-ADB mode, then you close it and then after a while you open it again→ it will refuse to startup "stuck on initializing..."

This is what happens to me.

MuntashirAkon commented 1 year ago

I think he simply means that if the app is on Wifi-ADB mode, then you close it and then after a while you open it again→ it will refuse to startup "stuck on initializing..."

What do you mean by closing? Removing the app from the Recents? It would be better if you shared the steps to reproduce it so that I might have a better understanding of what went wrong.

MicroBeast commented 1 year ago

On me. This "stuck" on AppManager Initialization screen also happen if the Mode of operation is ADB over TCP.

I think, that also what happen when I try to use the AppManager Install feature, AppManager stuck on starting.

The issue start if I chose to remember USB Authorization when asked. And yeah, it produceable at least on me.

It seem, AppManager trying to figure out to use ADB or not, then eventully fall back to None mode after minutes pass.

Workaround(?): I "probably" solve it by, Revoke USB debugging authorization in Developer options. No long Initialization so far. When opening AppManager again, just do not make AppManager remember the authorization when asked. I don't know what to think about why that authorization related at all.

AppManager:

Devices: