Android emulator not installing apps – a solution

During my revisit to app building for the Android platform I started to notice that the emulator (when using Eclipse) was a bit hit and miss when it came to loading the freshly compiled applications onto it. After much surfing on the web I had found that some folk had seen partial succes when killing the adb server. I played with this and I too had some partial success. Then after much trial and error I struck upon a solution that works everytime… it’s not pretty but it does do the job.

The Solution – Installing apps on the emulator

So what I do is this;

  1. Start eclipse
  2. Start the emulator… let it get to the point where it is fully loaded (i.e. at the home screen)
  3. From the command prompt kill the adb server with the command adb kill-server. This adb command is in my C:Program File/Android/app-inventor-extras folder on my windows setup (your may be different)
  4. The above command will cause eclipse to try 11 times to re-initialise the emuulator link. While this is happening (and after) I click the run button… I do this every second until the output in the console tells me that my app is being installed.
  5. Voila!

And that’s it… like I said it’s not pretty but it does mean that my apps install onto my emulator. Note this only needs to be done once, perhaps to set up the link between eclipse and the adb.

How not to get our support

I just received an email from a lovely guy/gal complaining about how they wasted some time trying to get one of our plugins working. Sadly in this case we’re not going to even bother to help them sort out the issues but instead are going to use them as an example on how to not get our support.

So here we go… things to remember or take note of when wanting help;

  • Ask us… yup that’s quite important!
  • Our plugins are free
  • We generally do not charge people for adhoc support for our free plugins
  • Be polite… ’nuff said on that one
  • Even if we can’t help there’s a huge community at that are more than likely to be of some assistance

And there we have it… it’s not a tough list to take in and we believe that most of the things on there are common sense too.

Oh, almost forgot… here’s the mail that we received… so if you do want our help it’s best not to use this as a template.

Wasted 2 hours trying to figure out your instructions for pages plugin. When you make something you really should try to write more the what you did for this. I just erase of the site and gave up.