Android device is not connected to USB for debuggi

2019-01-10 12:32发布

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

I tried to unplug and plug it again, but it did not work. And I have also enabled USB debugging and unknown sources options in my device.

Any help is appreciated!

Thanks!

24条回答
祖国的老花朵
2楼-- · 2019-01-10 13:01

Well, in my case updating drivers, restarting Android Studio, restarting my phone, changing the USB mode or unplugging USB did not help.

Then I went to the dev settings in my phone, toggled the Dev. Mode off and back on, and it worked. AS was open and phone was plugged at the moment.

查看更多
Viruses.
3楼-- · 2019-01-10 13:02

You need to install the driver first. Follow the instructions on the Android's developers website:

http://developer.android.com/tools/extras/oem-usb.html

查看更多
别忘想泡老子
4楼-- · 2019-01-10 13:02

I just ran adb command prompt and hit 'adb devices' and it showed daemon was not running. It installed itself and now i can able to see android devices there.

C:\...\...\source\repos\ABC\ABC\Ex.Android>adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
ZF22Q3T      unauthorized

and Reload the project

查看更多
老娘就宠你
5楼-- · 2019-01-10 13:03

Found out for Samsung, Installing Kies also update the usb driver which solve my problem with connecting my Samsung Galaxy S Advance with Android 4.1.2 to Android Studio on Windows 7 64bit. In this case the devise manager shows device driver is updated and working, but when I connect my phone Android Studio does not recognize my device.

查看更多
女痞
6楼-- · 2019-01-10 13:03

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.

查看更多
Root(大扎)
7楼-- · 2019-01-10 13:03

I had this problem occurring suddenly in Dell Ubuntu linux machine with Android Developer Studio. I did the following steps

    1. I opened "System Settings"
    2. Select the listed item "Software and Updates"
    3. Click on the tab "Additional Drivers"
    4. There was a mention about "Dell Inc: Unknown" and the option "Do not use use the device" selected. I selected the alternate driver mentioned and did an "Apply the Changes".

It started working.

查看更多
登录 后发表回答