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

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

    In Archlinux this can happen occasionally. The fix:

    $ sudo -s
    # adb kill-server
    # adb start-server
    
    0 讨论(0)
  • 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
    
    0 讨论(0)
提交回复
热议问题