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

Weird ADB state query responses #32

Open
amo13 opened this issue May 10, 2022 · 1 comment
Open

Weird ADB state query responses #32

amo13 opened this issue May 10, 2022 · 1 comment

Comments

@amo13
Copy link
Owner

amo13 commented May 10, 2022

StdOUT:
StdERR:adb server version (31) doesn't match this client (41); killing...

error: unknown host service

could not read ok from ADB Server

* failed to start daemon

error: cannot connect to daemon


 unknown adb state
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/logger/logger.go", line 156, in LogError.func1
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/logger/logger.go", line 150, in LogError
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/adb/adb.go", line 126, in State
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/device.go", line 94, in (*Device).GetState
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/observer.go", line 43, in (*Device).doObservation
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/observer.go", line 31, in (*Device).startObserver

On windows

@amo13
Copy link
Owner Author

amo13 commented May 14, 2022

*errors.errorString: Unknown ADB error: connection refused
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/logger/logger.go", line 156, in LogError.func1
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/logger/logger.go", line 150, in LogError
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/adb/adb.go", line 77, in unavailable
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/adb/adb.go", line 222, in Reboot
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/device.go", line 129, in (*Device).Reboot
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/device.go", line 154, in (*Device).HandleStateRequest
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/observer.go", line 65, in (*Device).doObservation
  File "/home/runner/work/Anarchy-Droid/Anarchy-Droid/device/observer.go", line 31, in (*Device).startObserver

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

1 participant