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

后端 未结 26 2498
再見小時候
再見小時候 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:29

    My device is POSITIVO and my operational system is Ubuntu 14.04 LTS So, my problem was in variable name

    I create the file /etc/udev/rules.d/51-android.rules and put SUBSYSTEM=="usb", SYSFS{idVendor}=="1662", MODE="0666"

    I disconnected device and execute:

    $ sudo udevadm control --reload-rules
    $ sudo service udev restart
    

    after this i connected the android device in developer mode again and

    $ adb devices
    
    List of devices attached 
    1A883XB1K   device
    

提交回复
热议问题