November 30th, 2010, 02:54 PM
Thread Author (OP)
Join Date: Jun 2010
Carrier: Not Provided
Thanked 0 Times in 0 Posts
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
"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!