0

I'm trying to develop an Android app. I'm developing in Eclipse which is running in an Ubuntu VM hosted on Windows 7.

I can run the app in the emulator just fine. However, if I connect my phone to the PC via USB, when I run the app I don't see it listed in Android Device Chooser.

I have followed the instructions in http://developer.android.com/tools/device.html. Running

adb devices

...shows an empty list of devices. Ubuntu just doesn't know it's there.

I wonder if it's because I'm running ultimately on Windows. When I plug the phone in, Windows responds to it, so it's not like there's no driver installed. If Windows knows it's there, does that mean it's somehow 'hidden' from the VM?

Can anyone help me diagnose the problem?

The phone is a Galaxy SII by the way. I hear they're pretty tricky to debug on.

4

1 回答 1

1

您使用的是什么虚拟机应用程序?

如果您在 VirtualBox、VMWare 等中,则需要使用 USB 图标(通常位于 VM 窗口的右下方),并将设备虚拟连接到虚拟机中。

然后,就可以调试了。

于 2012-06-22T22:26:40.303 回答