Cannot detect Sony Xperia in Eclipse

六月ゝ 毕业季﹏ 提交于 2019-11-28 11:53:20

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/

Damir

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!

These were my steps to solve the problem:

On SONY XPERIA Z

On Windows7

Don't forget to enable usb debugging in the phone setting.

Yes, eclipse needs drivers. You need to install drivers for the phone, and then restart eclipse. You then need to add the xperia through the device manager in eclipse.

Are you running windows??

  1. Start eclipse
  2. open the android SDK manager,it will load the repository.
  3. select the package for sony and download it.
  4. restart eclipse,and you are good to go.

Try to Install PC Companion here: http://www.sonymobile.com/gb/tools/pc-companion/

I had a problem connecting a Sony Xperia Tipo to Eclipse for android debugging. I went through all the steps already recommended (installing sony drivers, USB debugging on, etc), but was still getting a "driver not found" error when I connected the Tipo to my PC with USB debug switched on.

I fixed the problem starting with the driver install instructions for a Sony Tablet, http://www.kb.sony.com/selfservice/microsites/search.do?cmd=displayKC&externalId=C1024692&fes=true

Then I looked through Windows event viewer to find the find the details of the previous driver install failures, which gave me the correct device ID string for the Tipo. I added that to the end of the [Google.NTx86] section of android_winsub.inf, following the same pattern as for the Sony Tablet. It now contains this:

[Google.NTx86] 
;SONY Sony Tipo
%CompositeAdbInterface% = USB_Install, USB\VID_0FCE&PID_5170&MI_01

Finally I reconnected the Tipo to my PC, went for the manual driver search options during driver install, pointed it to the Google USB driver directory, and it installed the Google drivers successfully. Now Eclipse is connecting to the Tipo and I can test and debug my app.

SOLUTION ! : I had that problem with the detection of the SONY XPERIA Z tablet only with Eclipse and did everything in the book to connect it without success :

Checked that the Sony USB driver was updated on the PC, enabled USB debugging in the developpers options, tried the Media Transfer Protocol (MTP), tried the Mass Storage Configuration (MSC),

still the Eclipse command Run responded with a 'No compatible device found" message

until I downloaded the Google USB driver in the SDK manager and the DEVICE WAS AT LAST DETECTED. This is all the more so strange that the Google Driver is introduced as dedicated to Nexus tablets only ! So if this can help ....

I've just fixed this problem recently. Here's the steps you should try as follows:

  • enable usb debugging
  • change to mass storage device
  • reset DDMS - adb
  • install driver

Then in eclipse it should show up as an Android device :)

solution for sony Mobile usb driver for Window 7 After googling and more time spend on this we find the solution Sony tipo & Sony M mobile are detecting by eclipse . Steps are 1.install the latest sony companion 2- go to settings>>xperia>> connectivity>>USB connectivity mode>>MTP 3- restart eclipse and run your project Android Device Chooser show your device

donot forgot to check the usb debugging

This answer is more general to not finding your device. But if you have dead ADB processes running, you might have to kill them (and start a new one) in order to pick your device.

Eva Fung

For me, it works when combining Damir's & Michell Bak's answers.

First need to change device form MTP mode to MSC mode as Damir mentioned, then download and install driver to your PC as Michell Bak mentioned.

Most new Sony device default setting USB connection mode to MTP and the setting location is different from other android devices. Besides, driver can not install automatically and need to download form official site.

Steps to debug using Sony Xperia : Settings > Xperia > USB Connectivity > USB connection mode and select Mass storage mode (MSC). The USB cable must be unplugged to change this option. By default, Media transfer mode (MTP) was selected. Untick "Install software"

I had same problem with my Xperia Z3+ (android 5.02) with Android studio 1.3. I installed new drivers and XPeria Companion but it didn't help. However after I enabled hotspot via USB it started to work. Don't know if all of these was needed of if it was only the last one. Anyway I did 1. Settings->More...->Internetsharing hotspot->USB-sharing to on. 2. In the pop-up accept USB debugging.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!