adb devices command not working

前端 未结 9 603
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-02 05:53

I\'m running Ubuntu 10.10 64 bit. I have ia32-libs installed along with Android Debug Bridge version 1.0.26.

My problem(s):

  1. adb devices >>
相关标签:
9条回答
  • 2020-12-02 06:28

    restarting the adb server as root worked for me. see:

    derek@zoe:~/Downloads$ adb sideload angler-ota-mtc20f-5a1e93e9.zip 
    loading: 'angler-ota-mtc20f-5a1e93e9.zip'
    error: insufficient permissions for device
    derek@zoe:~/Downloads$ adb devices
    List of devices attached
    XXXXXXXXXXXXXXXX    no permissions
    
    derek@zoe:~/Downloads$ adb kill-server
    derek@zoe:~/Downloads$ sudo adb start-server
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    derek@zoe:~/Downloads$ adb devices
    List of devices attached
    XXXXXXXXXXXXXXXX    sideload
    
    0 讨论(0)
  • 2020-12-02 06:30

    I fixed this issue on my debian GNU/Linux system by overiding system rules that way :

    mv  /etc/udev/rules.d/51-android.rules /etc/udev/rules.d/99-android.rules
    

    I used contents from files linked at : http://rootzwiki.com/topic/258-udev-rules-for-any-device-no-more-starting-adb-with-sudo/

    0 讨论(0)
  • 2020-12-02 06:32

    Please note that IDEs like IntelliJ IDEA tend to start their own adb-server.

    Even manually killing the server and running an new instance with sudo won't help here until you make your IDE kill the server itself.

    0 讨论(0)
提交回复
热议问题