ADB is not detecting my android device on Ubuntu

前端 未结 6 1819
悲哀的现实
悲哀的现实 2021-02-06 01:40

Need help, \"adb\" not detect my phone, I do not know what to do; and this was what I did, if I have a mistake or something tell me please.

  1. I l

6条回答
  •  半阙折子戏
    2021-02-06 02:37

    Use apt-get install to install the android-tools-adb package.

    This gives you a community-maintained default set of udev rules for all Android devices.

    Make sure that you are in the plugdev group. If you see the following error message, adb did not find you in the plugdev group:

    error: insufficient permissions for device: udev requires plugdev group membership
    

    Use id to see what groups you are in.

    Use sudo usermod -aG plugdev $LOGNAME to add yourself to the plugdev group.

    The following example shows how to install the Android adb tools package. apt-get install android-tools-adb

    form android developer doc: https://developer.android.com/studio/run/device.html#connect

提交回复
热议问题