ADB did not detect Sony Xperia Z3 Compact (android 5.0.2)

ADB and Android Studio are not detecting my device in debug mode. I am working on Windows 7 x64 Pro with latest SDK platform tools.

I tried almost any other device configuration - connected to MTP and MSC mode, deauthorized, installed sony and modified generic drivers and any other advice - with no success.

Anyone have an idea to solve this problem?

+3


source to share


3 answers


Try installing Sony PC Companion. This should install all the necessary drivers to communicate with adb:



http://support.sonymobile.com/global-en/tools/pc-companion/

+6


source


In the end, without success, the device was found in Device Manager, but with a question mark and no driver was found.

So, I need to download a driver from Sony on

http://developer.sonymobile.com/downloads/drivers/xperia-z3-compact-driver/



and manually update the driver.

So after that the device was recognized in Android Studio.

thank

+3


source


After days of struggling with the drivers, I found a solution and applied it successfully. As I suggested and wrote in one comment above, the problem was not the adb drivers, but the drivers (especially for the usb driver). Soon, in order to properly install the drivers and run adb, I need to clear the drivers caches and re-scan my computer to rebuild the driver information. I found a description of a similar problem here:

Windows 7: Can't Install Any USB Devices

Also I am rewriting the solution here for those who have a problem like this:

Here's a solution for those who may have this problem: This worked for me on Windows 7 Ultimate 64bit! You must have full administrator rights!

1- Open Windows Explorer

2- Go to C: / Windows / System32 / DriverStore

You will have several folders and files. You will have * .dat files and another file named: infcache.1

3 Right-click each file (don't touch the folders!) And select properties.

4 go to the security tab

5- click Edit

6- select your account and check the box: full control (see ss)

7- Click "OK".

8- Repeat for each file

9- Select all files (* .dat and infcache.1)

10- Press shift + del

11- Click OK.

12- Now go to C: Windows / System32 / Driver Store / File Repository /

13- Find a folder named usbstor.inf

14- Open it (if you have several, select the last one)

15- Copy "usbstor.inf" and "usbstor.PNF"

16- Insert these two files into C: / Windows / inf

17- Restart your computer and war !: B

If Windows doesn't install them automatically, go to Device Manager, remove any unknown devices and those that have a yellow exclamation mark, then click "Check if there are any hardware changes"

Windows will now successfully install all your hardware

After following all these steps, the computer automatically detected the Sony Xperia Z3 Compact device, installed all drivers and adb show my device in the list. Finally, it works well.

Hope this helps if somoene has problems with simmilar in the future.

0


source







All Articles