tags:

views:

67

answers:

3

All of a sudden I couldn't upload my apk on my device while debugging/running it from eclipse, this is the error:

[2010-07-11 12:30:04 - myapp] Failed to upload myapp.apk on device '181D09BAD5D96180'
[2010-07-11 12:30:04 - myapp] java.io.IOException: Unable to open sync connection!
[2010-07-11 12:30:04 - myapp] Launch canceled!

i tried in the adb kill-server and start-server also tried to reboot/shut down my comp and/or my phone but nothing helps.

I'm using adk 1.5.

any idea?

A: 

I think eclipse only does a reinstall, maybe you should uninstall your app from the device (with "adb uninstall") or from the applications list on the device itself. Maybe that helps.

Another suggestion would be to disable your antivirus software (if any).

SchlaWiener
A: 

In this thread Raphael mentions issues with the Drawable folder. Did you add any new drawable to the new version?

Also check there is an issue created related with your problem.

Macarse
A: 

I found the prob folks. i have channged some of my package which contain an AIDL file, and eclipse does some auto-gen code, i had to delete it and re-compile.

ofcourse the error i got wasnt appropriate, but now it works.

thank you all anyway for the help.

Moshik