Use adb to connect PC with Android Device
来源:互联网 发布:数据库审计部署 编辑:程序博客网 时间:2024/05/01 19:54
To do this with Ubuntu
First need to create a /etc/udev/rules.d/51-android.rules file with thefollowing contents:
1.SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
After this run the following to restart udev:
$ sudo /etc/init.d/udevreload
Lastly, on your phone make sure Settings :: Applications ::Development :: USB Debugging is enabled and the plug in your phone.
List the device:
$ adb devices
Then you can use the following commands to connect PC with Android Device
$ adb shell
$ adb logcat
How to get the vendor id:
$ lsusb
or
$ cat /proc/bus/usb/devices
- Use adb to connect PC with Android Device
- How to use adb to connect/disconnect device
- Use ADB to connect phone with Windows 7 over tcp
- Android Device connect to PC via WIFI AD-HOC mode
- How to connect to Android with ADB over TCP?
- How can I connect to Android with ADB over TCP?
- 通过网络使用ADB ( Connect to android with ADB over TCP )
- 通过网络使用ADB ( Connect to android with ADB over TCP )
- 通过网络使用ADB ( Connect to android with ADB over TCP )
- Changing Android Device orientation with ADB
- How to Use WinUSB to Communicate with a USB Device
- connect android with adb over tcp
- Use intent and Uri to interact with your anroid device,.
- Connect your Android phone to ADB wireless
- Android adb cannot connect to deamon
- Unable to connect device
- how to use adb and gdbserver with VirtualBox - KVM (qemu)
- "To use this device with Xcode, unlock the device and choose "Trust".
- 查看死锁的SQL语句
- 基于角色的权限管理系统数据库设计
- 虚拟主机之基本概念[转]
- Could not clean D-Cache - memory(Multi-ICE仿真器调试问题)
- Hibernate与Spring的整合
- Use adb to connect PC with Android Device
- Linux下路由器的配置
- ZThread在VC6下的构建
- 在 Windows 上安装 Oracle 数据库 11g
- 架构师分为4种
- Ubuntu 9.10禁用触摸板的办法
- Windows mobile 6捕获键盘操作
- life is...
- 问候