在Ubuntu下如何使用ADB

1. Login as root and create this file: /etc/udev/rules.d/50-android.rules.
      For Gusty/Hardy, edit the file to read:
      SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
      For Dapper, edit the file to read:
      SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
2. Now execute:
      chmod a+rx /etc/udev/rules.d/50-android.rules
3.$ sudo /etc/init.d/udev restart
4.If in user group , adb shell can not find device ,please adb kill-server the adb start-server .And sudo su to root operation.

你可能感兴趣的:(shell,ubuntu,File,user,login)