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

test: Reply
 
LinkBack Thread Tools
Old November 30th, 2010, 02:54 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jun 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default Eclipse and ADB - best settings?

I am running Eclipse Galileo and ADB on a Win XP SP3 machine but I am having trouble getting a reliable connection to the ADB so I can run and/or debug my Android app. It can take upto 20 minutes sometimes just to get a connection by pressing CTRL-F11, watch the connection fail and then trying again until I get a connection, I don't change any code or settings, I am just trying to get the thing to work! Here are a selection of error messages I am getting:

"Failed to upload me.apk on device 'emulator-5554'"
"com.android.ddmlib.AdbCommandRejectedExceptio n: device not found
Launch canceled!"
"emulator-5554 disconnected! Cancelling"
"Launch error: adb rejected command: device not found"
"emulator: ERROR: the user data image is used by another emulator. aborting"

The emulator never fails to open, but of course with the error reported my app wont run. I have tried the tip I have seen elsewhere in these forums of trying to reset the ADB through the Devices tab but that just upsets things and then nothing will run, instead I get a stream of "unable to connect, attempt 1..2...3 etc" messages.

I must be doing something wrong or have missed a setting somewhere as I'm sure it shouldn't be this difficult just to get the emulator going with my app!!

I am using Eclipse Galileo build 20100218-1602 with Java 1.6.0_22 on a 3.2GHz Celeron Win XP machine with 2Gb RAM.

Any help would be great, thanks!

Advertisements
edojones is offline  
Reply With Quote
sponsored links
Old December 3rd, 2010, 01:44 AM   #2 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jun 2010
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

UPDATE: I read somewhere else in these forums that unticking the Android startup animation helps so I have done this.... and it works! Ok, so it is not 100% fixed as I still occasionally get the errors I mentioned but at least I can keep the emulator open and Eclipse/ADB doesn't complain all the time, making development soooo much easier.

Anybody have an idea why this may be so?
edojones 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 07:17 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.