To do this with Ubuntu

First need to create a /etc/udev/rules.d/51-android.rules file with the following contents:

1. SUBSYSTEM== "usb" , SYSFS{idVendor}== "0bb4" , MODE= "0666"
After this run the following to restart udev:

$ sudo /etc/init.d/udev reload

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

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android修改重力感应方向
  2. Android——列表选择框(Spinner)
  3. Android Camera porting(HAL层移植)
  4. android蓝牙遥控车
  5. Android(安卓)2D图像显示
  6. (1)ActivityThread分析
  7. Android(安卓)OpenGL ES 开发教程(7):创建
  8. android:快速搜索手机中文件
  9. Google 暑期大学生博客分享大赛 2011 And
  10. 有关android内存泄露的问题以及解决方案