set up device for development (???????????? no permissions)

后端 未结 26 2291
再見小時候
再見小時候 2020-11-22 12:27

I am using a Samsung galaxy nexus phone (Android 4.0 platform) .

I am developing Android app on Ubuntu linux OS. I would like to run my application

26条回答
  •  余生分开走
    2020-11-22 13:19

    1. Follow the instructions at http://developer.android.com/guide/developing/device.html(Archived link)
    2. Replace the vendor id of 0bb4 with 18d1 in /etc/udev/rules.d/51-android.rules

      Or add another line that reads:

      SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
      
    3. Restart computer or just restart udev service.

提交回复
热议问题