Cannot detect Sony Xperia in Eclipse

后端 未结 15 2063
一整个雨季
一整个雨季 2020-12-11 00:07

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

相关标签:
15条回答
  • 2020-12-11 00:30

    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.

    0 讨论(0)
  • 2020-12-11 00:33

    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 :)

    0 讨论(0)
  • 2020-12-11 00:34

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

    0 讨论(0)
  • 2020-12-11 00:35

    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 ....

    0 讨论(0)
  • 2020-12-11 00:38

    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
    0 讨论(0)
  • 2020-12-11 00:44

    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!

    0 讨论(0)
提交回复
热议问题