adb devices command not working

前端 未结 9 606
佛祖请我去吃肉
佛祖请我去吃肉 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:26

    On my Gentoo/Funtoo linux system I am having similar problems:

    I gotting always not the correct device description and insufficient permissions:

    # sudo ./adb devices
    List of devices attached 
    ????????????    no permissions
    # ./adb usb
    error: insufficient permissions for device
    

    For me helps the howto from Google. In my case I needed to add the udev rule:

    # cat /etc/udev/rules.d/51-android.rules 
    SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" 
    

    and setting up the filesystem rights

    # chmod a+r /etc/udev/rules.d/51-android.rules
    

    After replugging my smartphone the access to the phone was successful, it also appears now in Eclipse' Android Device Chooser:

    # sudo ./adb devices
    List of devices attached 
    3XXXXXXXXXXXXXC device
    # sudo ./adb usb
    restarting in USB mode
    

    You also have to check the membership of your user to the plugdev-group.

提交回复
热议问题