这是我第一次尝试建立亚行与我的Ubuntu桌面连接S2。然而,当我跑 ADB设备
和/或 ADB USB
它无法检测到S2。我按照以下步骤操作:
this is the first time I am trying to setup adb to connect s2 with my ubuntu desktop. However, when I run adb devices
and/or adb usb
it cannot detect the s2. I have followed the following steps:
的udev
规则
添加到〜/ .android / adb_usb.ini
create udev
rules
add to ~/.android/adb_usb.ini
但设备未建立连接,而我在下载/奥丁模式。
But the device is not getting connected while I am in the download/odin mode.
我的系统是Ubuntu的12.04的64位和我使用了亚洲开发银行
pre-打包带 Android的工作室
运行的lsusb
显示我下面的输出:
My system is Ubuntu 12.04 64-bit and I am using the adb
pre-packaged with android studio
running lsusb
shows me the following output:
Bus 002 Device 004: ID 04e8:685d Samsung Electronics Co., Ltd
我还添加了以下行到我的 /etc/udev/rules.d/51-android.rules
:
# Samsung Galaxy I777
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
和为了充分披露的权限是:
and for the sake of full disclosure the permissions are:
-rwxr-xr-x 1 root root 95 Jun 2 17:16 51-android.rules
也是〜/ .android / adb_usb.ini
的行 0x04e8
试试这个的通用udev规则,和 FASTBOOT
接口,不管是哪个匹配所有 ADB厂商ID:
Try this universal udev rule, which matches all adb
and fastboot
interfaces regardless of vendor ID:
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff420?:*", MODE="0666"
上一篇:如何解析JSON字符串的Android字符串、JSON、oid、Andr
下一篇:在 Rails 3 中使用 Cucumber/Capybara,如何设置自定义用户代理字符串?自定义、字符串、如何设置、用户