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

Find everything you need for the Galaxy S5 and discuss it in our S5 forum!
Have you seen that OnePlus One's awesome camera?? The forum is over here!

test: Reply
 
LinkBack Thread Tools
Old March 4th, 2011, 03:44 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Feb 2011
Location: Orange County
Gender: Male
Posts: 91
 
Device(s): Google/Asus Nexus 7
Carrier: Not Provided

Thanks: 7
Thanked 0 Times in 0 Posts
Default Why does the emulator come on when I want to test in a device?

I just plugged in an Android phone. In Eclipse, I right-clicked on the program name, clicked on Run As, then on 1 Android Application. Instead of starting up in the device, the emulator started up.

How do I choose which one to run it on? It always chose the device when I plugged it in before.

Thanks!
Steve

StevenHu is offline  
Reply With Quote
sponsored links
Old March 4th, 2011, 04:39 PM   #2 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 435
 
Device(s): Current: HTC Evo 4G, Asus Nexus 7 Retired: LG Ally
Carrier: Not Provided

Thanks: 103
Thanked 161 Times in 105 Posts
Default

Go into your run configurations and choose the project you're trying to run. Go to the target tab and choose manual. This will make Eclipse ask you what to run the app on the first time. After that, it will run with whatever you chose the first time.
__________________

(That's a link. Just saying.)
cr5315 is offline  
Reply With Quote
Old March 4th, 2011, 04:41 PM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Feb 2011
Location: Orange County
Gender: Male
Posts: 91
 
Device(s): Google/Asus Nexus 7
Carrier: Not Provided

Thanks: 7
Thanked 0 Times in 0 Posts
Default

I found out the reason. The person had not set his device to debug mode.
StevenHu is offline  
Reply With Quote
Reply


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 06:21 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.