Android device is not connected to USB for debugging (Android studio)

前端 未结 25 1044
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-01 01:46

I am trying to debug my application using a real device instead on the emulator. When I try to connect, it gives me the message:

USB device not found<

相关标签:
25条回答
  • 2020-12-01 02:10

    I had tried restart the device, and it's work, popup and ask want to trust the mac for debug mode.

    0 讨论(0)
  • 2020-12-01 02:11

    Try a different cable, ideally an official Samsung one.

    I had tried a crappy USB cable I had lying around and then tried another which was Samsung and works perfectly now.

    Not sure why they would be different though but worked for me.

    0 讨论(0)
  • 2020-12-01 02:12

    If you are on windows, many times it will not recognize the device fully and because of driver issues, the device won't show up.

    • go to settings
    • control panel
    • hardware and sound
    • device manager

    And look for any devices showing an error. Many androids will show as an unknown USB device. Select that device and try to update the drivers for it.

    0 讨论(0)
  • 2020-12-01 02:13

    I had the same problem with connecting my Galaxy Nexus to win7 x64. I solved it by getting drivers, they can be downloaded from here or also via Android SDK manager.

    0 讨论(0)
  • 2020-12-01 02:13

    Galaxy S7, I had to go to Settings, Developer Options and allow USB Debugging. This asked to approve computer it was attached to and it showed up instantly.

    0 讨论(0)
  • 2020-12-01 02:13

    I am using Samung S8, I tried to install:

    1. Intel Android Driver
    2. Samsung USB driver

    But the adb bridge driver was still missing. I finally got it to work by installing the Samsung Smart Switch application which is a media manager application.

    Updated at 2018-04-20: If you are struggle with the driver, just use http://adbdriver.com/downloads/

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