gpt4 book ai didi

android - Eclipse 无法识别我的 android 设备,为什么?

转载 作者:太空宇宙 更新时间:2023-11-03 12:57:50 25 4
gpt4 key购买 nike

我正在尝试在 Ubuntu 12.04 上使用 android sdk 和 eclipse。它看到我的设备,但无法识别。可能是什么问题呢?

错误看起来像这样: enter image description here

最佳答案

来自.. http://developer.android.com/tools/device.html

如果您在 Ubuntu Linux 上进行开发,则需要添加一个 udev 规则文件,其中包含您要用于开发的每种设备的 USB 配置。在规则文件中,每个设备制造商都由唯一的供应商 ID 标识,如 ATTR{idVendor} 属性所指定。有关供应商 ID 的列表,请参阅下面的 USB 供应商 ID。在 Ubuntu Linux 上设置设备检测:

Log in as root and create this file: /etc/udev/rules.d/51-android.rules.

Use this format to add each vendor to the file:
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"

In this example, the vendor ID is for HTC. The MODE assignment specifies read/write permissions, and GROUP defines which Unix group owns the device node.

Note: The rule syntax may vary slightly depending on your environment. Consult the udev documentation for your system as needed. For an overview of rule syntax, see this guide to writing udev rules.
Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules

关于android - Eclipse 无法识别我的 android 设备,为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16837114/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com