step 1
root@ubuntu:~# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04e8:681c Samsung Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
step 2
root@ubuntu:~# gedit /etc/udev/rules.d/51-android.rules 在这个文件里添加如下代码:SUBSYSTEM=="usb", SYSFS{"Samsung Electronics Co., Ltd."}=="04e8", MODE="0666" 其中: Samsung Electronics Co., Ltd | 0ce8 见step 1。step 3
root@ubuntu:~# /etc/init.d/udev restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service udev restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart udev
udev start/running, process 4744
step 4
root@ubuntu:~# adb kill-server
root@ubuntu:~#
step 5
root@ubuntu:~# adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
100087627e1e device
step 6
root@ubuntu:~# adb shell
$
本文指导如何通过adb命令连接Android设备,并进行设备管理。包括安装必要的软件、配置环境、连接设备、验证连接状态及启动adb服务。通过具体步骤演示了如何与设备交互,实现远程操作。
4601

被折叠的 条评论
为什么被折叠?



