Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old September 18th, 2012, 07:22 AM   #1 (permalink)
New Member
Thread Author (OP)
 
MunterMan's Avatar
 
Join Date: Mar 2012
Location: Manchester, England
Posts: 9
 
Device(s): Sony Xperia Tipo
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Attaching a portable device to eclipse adt

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.

MunterMan is offline  
Reply With Quote
sponsored links
Old October 1st, 2013, 10:34 AM   #2 (permalink)
New Member
Thread Author (OP)
 
MunterMan's Avatar
 
Join Date: Mar 2012
Location: Manchester, England
Posts: 9
 
Device(s): Sony Xperia Tipo
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
MunterMan is offline  
Reply With Quote
Reply
Tags
avd, eclipse, sdk


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:07 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.