Skip to content

Instantly share code, notes, and snippets.

@jyukutyo
Created May 14, 2012 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jyukutyo/2692509 to your computer and use it in GitHub Desktop.
Save jyukutyo/2692509 to your computer and use it in GitHub Desktop.
UbuntuでAndroidのデバイスをを登録する
-- super userで実行する
# echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="ベンダーID", MODE="0666", GROUP="plugdev"' > /etc/udev/rules.d/51-android.rules
# chmod a+r /etc/udev/rules.d/51-android.rules
-- 一般ユーザでもよい
$ ./adb kill-server
$ sudo ./adb start-server
$ ./adb devices
List of devices attached
xxxxxxx device
-- ベンダーID一覧
http://developer.android.com/guide/developing/device.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment