[cm-x86_64-14.1-rc1] ADB device appears "unauthorized" to client

90 views
Skip to first unread message

Eloston

unread,
Dec 17, 2017, 4:34:09 AM12/17/17
to andro...@googlegroups.com
Hi,

I'm trying to connect to my cm-x86_64-14.1-rc1 instance via ADB, but I am getting an "unauthorized" status via "adb devices".

Setup: QEMU 2.10.1 managed by libvirt 3.10.0

Steps to reproduce:

1. Go to Developer options, enable Android debugging and ADB over network. It shows "0.0.0.0:5555" under ADB over network.
2. Add temporary port-forwarding rule via libvirt: virsh qemu-monitor-command --hmp $VM_NAME 'hostfwd add ::5555-:5555'
3. Type in "adb devices" and see "emulator-5554 unauthorized"

NOTE: ADB works with Android-x86 7.1-rc2 under the same setup.

Is there a workaround I can use until this gets fixed?

Thanks,
Eloston
Reply all
Reply to author
Forward
0 new messages