TaihouKai
TaihouKai

Reputation: 371

Debugging Android Emulator with USB or Wireless connection

Is there any way to connect Android Emulator via USB or Wireless?

I know that Android Emulators are connected to local ADB automatically, but some ADB-based tool (e.g., MVT) requires "real" USB or wireless connection to work.

I have the following 2 questions regarding these 2 approaches:

USB Connection

In MVT's case, it uses Python's libusb1 library, and libusb1 can only detect "real" USB device.

The question is, is there any way to make emulator as local USB device?

Wireles Connection

I tried wireless debugging as well. Since AVD's (QEMU) network is not accessible from host's network, I tried Genymotion (VirtualBox) and pair with adb pair 127.0.0.1:PORT, with pairing code from Emulator's developer options, and I got:

error: protocol fault (couldn't read status): Success

So, is there any way to adb pair emulator with host?

Upvotes: 0

Views: 171

Answers (0)

Related Questions