오늘 Linux 환경에 Android 개발환경을 구축하다가 USB로 ADB가 잡히지 않는 것을 보고

Google Android 사이트를 참조하여 ADB를 설정하려고 하는데 이게 가관이다.

  • If you’re developing on Windows, you need to install a USB driver for adb. If you’re using an Android Developer Phone (ADP), Nexus One, or Nexus S, see the Google Windows USB Driver. Otherwise, you can find a link to the appropriate OEM driver in the OEM USB Drivers document.
  • If you’re developing on Mac OS X, it just works. Skip this step.
  • If you’re developing on Ubuntu Linux, you need to add a rules file that contains a USB configuration for each type of device you want to use for development. Each device manufacturer uses a different vendor ID. The example rules files below show how to add an entry for a single vendor ID (the HTC vendor ID). In order to support more devices, you will need additional lines of the same format that provide a different value for the SYSFS{idVendor} property. For other IDs, see the table of USB Vendor IDs, below.
    1. Log in as root and create this file: /etc/udev/rules.d/51-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+r /etc/udev/rules.d/51-android.rules

 
생각해보니까 집에서는 MAC으로 개발을 하는데 USB 잡아줬던 기억이 없다.

지가 알아서 잘 동작했는데 말이지. Ubuntu에서 하려니까 이런 사소한 것 까지 직접해줘야 하다니…

개발자인 나도 귀찮고 어려운데 일반사용자는 얼마나 어려울까…