Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

device state change offline #152

Open
codecodeabc opened this issue Nov 8, 2023 · 1 comment
Open

device state change offline #152

codecodeabc opened this issue Nov 8, 2023 · 1 comment

Comments

@codecodeabc
Copy link

The device adb connection is successful, and the device status is device after connection.
in execution

PackageManager packageManager = new PackageManager(device)
packageManager.getPackages()

An error is reported and device offline is displayed. What is the reason? After using

adb reconnect offline

here, the execution is successful again.
but jadb not support the reconnect function

@vidstige
Copy link
Owner

Hi! Sorry for the late reply. I don't fully understand the issue here. Is there some "reconnect" function missing? You should be able to re-create the JadbConnection instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants