1. Tablet future looks bright! Read more about: Alcatel Xess | Samsung Galaxy View
    New Forums: Alcatel Xess | Samsung Galaxy View
    Dismiss Notice

Attaching a portable device to eclipse adt


Last Updated:

  1. MunterMan

    MunterMan Member

    I am developing apps using elipse Juno and I want to use my phone, Sony Xperia tipo, as my avd. I have connected it to the pc using the usb cable. However when I go to Window->Preferences->Android->SDK Location->Browse the phone does not show up.

    As of today there are no specific usb drivers from the Sony website, just the pc companion.

    Is there another way of running self developed apps on my phone? Preferably through the usb port.

    Advertisement
  2. MunterMan

    MunterMan Member

    Solved after much trialing.


    Use this link which explains where to get the usb driver package from android

    Google USB Driver | Android Developers



    Use this link which explains how to install said driver.

    OEM USB Drivers | Android Developers



    What that page did not explain is that my device pops up twice in device manager. Once under Portable Devices, and again under Universal Serial Bus controllers->USB Composite Device (the one with a picture of a mobile next to it).



    Both of these need their drivers updating with the newly downloaded usb drivers. Now when you plug in your phone and run the 'adb devices' command from a console, you should see your phone listed.



    Now go into eclipse and to run your project go to Run->Run Configuration->Target



    Select Launch on all compatible devices/AVD's, select Active devices from the drop down menu, then run. It will install to your phone and run, allowing you to debug on your computer.



    Not straight forward and not well documented, but I have it working.

Share This Page