Cannot detect Sony Xperia in Eclipse
Solution 1
Download the correct driver for your phone, make sure your phone has enabled USB debugging and then connect it to proceed with the install.
Download drivers from: http://developer.sonymobile.com/downloads/drivers/
Solution 2
Even though this question was posted long time ago, I didn't find 100% correct answer from previous replies. Most of replies are useful, but here is one final step for debugging apps on Sony Xperia devices.
My Sony Xperia T has not been visible in Eclipse even though I installed PC Companion and in mobile phone, I set developers options debugging mode!
Xperia has very strange option:
Settings > Xperia > USB Connectivity > USB connection mode
and select Mass storage mode (MSC).
Note that the USB cable must be unplugged to change this option.
By default, Media transfer mode (MTP) was selected. If MTP is selected even little bug is shown in notification bar debugging is not possible!
Solution 3
These were my steps to solve the problem:
On SONY XPERIA Z
- Enable USB debugging (http://developer.android.com/tools/device.html#setting-up)
- Settings > Developer > USB-Debugging = Enabled
- Settings > Xperia > USB Connectivity > USB connection mode = MSC
- Settings > Xperia > USB Connectivity > Install software = Disabled (!!!)
On Windows7
- Google USB drivers were already installed for another device
- Download XPERIA drivers from: http://developer.sonymobile.com/downloads/drivers/
- Connect XPERIA via USB
- Device manager > Unknown device > Install driver from downloaded file
Solution 4
Don't forget to enable usb debugging in the phone setting.
Related videos on Youtube
Konrad Borowski
Updated on March 05, 2020Comments
-
Konrad Borowski about 4 years
I am totally new at testing apps on devices, especially the Sony Xperia. I am testing apps using the Android emulator, but I have now a Sony Xperia. First I have connected the device to the laptop via USB. But the laptop couldn't detect my phone. Is a driver necessary for Eclipse to detect the phone?
-
Akshay over 11 yearsRead this post stackoverflow.com/a/11974943/704374 this will help you.
-
-
Admin over 11 yearsyes, I am using windows, but i already install google usb driver. Is google usb driver doesnot work for this?
-
ddoor over 11 yearsNo you need the drivers for the Xperia - and don't forget to turn on phone debugging. Check here developer.sonymobile.com/wportal/devworld/search-downloads/…
-
Adil Soomro about 11 years+1. I downloaded driver from there and followed instruction here to update the drive. this enabled the eclipse to detect my Xperia S. thanks.
-
Andrew S almost 11 yearsWindows has determined your driver is up to date is what I get. Still cannot be seen in Eclipse.
-
joriki almost 11 yearsGreat, thanks; this also worked on my Sony Xperia Tablet Z -- I would never have found that option otherwise :-)
-
iversoncru about 10 yearsI have a Sony Xperia M and this is been the solution to my problem. With no PC Companion and MSC usb connection mode the android device manage on my Eclipse got to recognize my phone. Thanks.
-
Andreas Løve Selvik almost 10 years@AndrewS Had the same problem. I solved it by enabling Mass storage mode (MSC) as described by Damir. The phone then appeared under "Other devices" instead, and installing the driver worked this time!
-
Josh almost 10 yearsAside from the usual stuff: installing google usb drivers, PC companion, enabling debugging , allowing apps from unknown sources, etc. Enabling MASS STORAGE worked!! The Sad part was that I couldn't listen to the MP3s on my phone while it was hooked to eclipse. Fortunately, whe you activate MASS Storage for the first time the phone asks you to include your computer in the Trusted Devices List. Once you do so, you can then put it back to Media Transfer Mode and enjoy Eclipse connection while listening to MP3s at the same time!! Happy Coding.
-
AgentKnopf almost 10 yearsI dont see this option: Settings > Xperia > USB Connectivity > USB connection mode = MSC - it only gives me one option in the USB Connectivity Menu and that's "Install PC Companion" and of course that doesn't work either ;) any ideas?
-
JsAndDotNet about 9 yearsI found it hard to get the right drivers for my xperia, so downloaded the PC companion which downloads the right drivers for you - support.sonymobile.com/gb/tools/pc-companion