问题
I am setting up a Android development environment on a new Windows 10 laptop. I have done this many times on other machines with other operating systems, but this is the first time with Windows 10. The problem is that Android Studio cannot detect my device (LG Zone 3) after I connect it via USB. Note that I have previously used this device for development on an Arch Linux desktop.
I have downloaded Android Studio and created several AVDs. I can run my app and tests on those just fine. However, my hardware device is not listed in the selection dialog.
Here are some things I have tried:
- Check that the USB drivers are installed.
- Restart ADB from the Android Monitor window in Android Studio
- Restart ADB from the command line with
adb kill-server
andadb start-server
. - Quit Android Studio and restart it.
- Unplug the device, turn off USB debugging, and turn it back on.
- Plug device into a different USB port.
- Switch device connection settings to Charge Only and then back to MTP.
What other trouble-shooting steps can I follow to get my device to work?
回答1:
Depending of your device you might be required to install the phone specific drivers. Also, sometimes it helps if you go to phone Developer settings and uncheck/disable USB debugging and enable it again.
回答2:
Try this also
1.Just change your cable & give try again
2.Uncheck "Tools" - "Android" - "Enable ADB Integration".
3.Re-Install Google USB drivers
GOTO - http://developer.android.com/sdk/win-usb.html#top Download the driver Reinstall it
回答3:
There are few ways to resolve this problem.
Case 1. Enable the USB debugging option in your mobile.
Setting > developer > Check "USB Debugging"
Case 2. Change from MTP to PTP.(sometimes vise versa works)
Case 3. If nothing worked then try to Install PdaNet+ in your system. This Actually worked for me.
If it solved your issue then answer this question in the comment section > Which case solved your issue? it will help the coming people who are facing the similar problem.
回答4:
In my case, an LG device, I just downloaded drivers from the lg site, and it fixed the problem without having to fiddle with any settings. LG site: http://www.lg.com/us/support/software-firmware-drivers
来源:https://stackoverflow.com/questions/42770069/android-studio-does-not-detect-android-device-on-windows-10