问题
My real device is Sony Xperia c6502 with android version 4.3 I'm sure I connect it to my computer and I turn Developer options/ USB debugging on
In SDK manager, Google USB driver is already installed.
I downloaded Xperia Z Driver from this page:http://developer.sonymobile.com/downloads/drivers/ But I don't know how to use it
No PTP mode option in USB Connectivity in my phone
My device is not shown in Android Device Monitor and thus I can't run app test on my phone.
How to let my Android Studio catch my phone?
回答1:
Some possible solutions:
On your notification bar, expand it and click the connection. Then select connect as
Camera (PTP)
(not as media device)Try with another USB cable.
Go to your SDK manager and install(I see you updated your answer regarding this)Google USB Driver
Follow the instructions on OEM USD Drivers
回答2:
I tried all the possible solutions given above but cannot detect my device. Finally, I come to know device drivers are not installed.
You can install it like: Go to Tools > Android > SDK Manager> SDK Tools > Google USB drivers.
Make sure it's installed.
回答3:
Go to Google to download usb driver
Plug in your Android phone
Open device manager
Right click on your phone with exclaimation mark
Select update driver software
- Browse my computer for driver sofware
- Let me pick from a list of device drivers on my computer
- Select Android Device
- Click Have Disk
- Select the inf file
- Select Android Composite ADB Interface and click next and Yes to install
- And your are done
回答4:
Do a CTRL+ALT+DEL and bring up the task manager. Look for ADB.EXE and end task it.
Sometimes it will hang and prevent device enumeration.
回答5:
It does not work if USB tethering
is on.
来源:https://stackoverflow.com/questions/31717298/android-studio-android-device-monitor-not-showing-my-device