在 Windows 7 上的 VirtualBox 中运行的 Ubuntu 中无法识别 Android 设备?

发布于 2024-10-14 05:18:21 字数 205 浏览 15 评论 0原文

我在 Windows 7 上安装的 VirtualBox 中运行 Ubuntu。出于某种原因,当我在连接手机后输入 adb devices 时,没有任何反应。它只是给我一条消息,说没有找到设备。

该设备在 Windows 中被识别,但在 Ubuntu 下没有任何反应。我尝试使用 sudo 但这也不起作用。有没有办法让虚拟机中的 Ubuntu 识别设备?

I am running Ubuntu inside VirtualBox installed on Windows 7. For some reason, when I type adb devices after connecting my phone, nothing happens. It just gives me a message saying that no devices were found.

The device is recognized in Windows but under Ubuntu, nothing happens. I tried using sudo but that doesn't work either. Is there anyway to get Ubuntu inside the VM to recognize the device?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

゛清羽墨安 2024-10-21 05:18:21

您是否已按照说明允许虚拟机访问主机 USB 设备?

然后,您需要按照下面 user591604 链接到的指南进行操作。

Have you followed the instructions for allowing your VM to access host USB devices?

You will then need to follow the guide that user591604 links to, below.

薯片软お妹 2024-10-21 05:18:21

我不确定虚拟机,但我是在 ubuntu 之外为 android 开发的。我记得我不得不做一些奇怪的事情。此页面上有更多相关信息:

http://developer.android.com/guide/developing /device.html

我希望这有帮助。

I'm not sure about a VM, but I develop for android out of ubuntu. I remember having to do some wonky things. There's more about this on this page:

http://developer.android.com/guide/developing/device.html

I hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文