I'm using the Android plugin for Eclipse on OSX, latest versions of everything. When I run or debug my app, Eclipse is very inconsistent about uploading/installing the new APK. Nothing I seem to do has any effect on this. Clean builds, debug, whatever, there seems to be about 50/50 chance of installing the APK. Or not. If not, then I have to kill the emulator and try again. What is going in?
+2
A:
then you in that state try from terminal adb kill-server then adb devices
Alex Volovoy
2010-01-14 02:38:31
I noticed that my device did not appear in DDMS, so I think this is what was going on. Restarting adb, then re-running app seems to work. Wish I knew why this was happening in the first place.
michaelg
2010-01-15 01:36:18
Also, you can do this from inside Eclipse. Go to DDMS. In the Devices window, there is a drop down menu (upside down triangle, with "View Menu" as its tooltip). Click on that and at the bottom there is a Reset adb option that does the above.
michaelg
2010-01-16 01:43:37