Android Market on Emulator

I am working on an application for Android which needs the Market and it’s kind of annoying to always use the real device here in front of me I was looking for a way to use the Market on the emulator. Officially that’s not supported and there is nothing line a .apk file for the Market application. After a little googling I found a straight forward solution:

What do you need?

Well, the basic SDK. 1.5, 1.6 or 1.1

And then, go to the HTC website where you can find the images/recovery images. Download the version (system image only) which you want to run.

http://developer.htc.com/google-io-device.html#s3
(Download the System Image zip)

Extract the files of this zip. There’s a system.img file which you will need in the next steps.

Create an AVD (1.1, 1.5 or 1.6) depending on your requirements.

Copy this system.img file into the avd directory. For example, if you created an avd named “MyPhone”, go to .android/avd/MyPhone/ and paste this system.img file here.

As you can read in the comments, there are some issues with the network connection and things like that so if it doesn’t work for you, you should try the image Beanie uploaded here.

My way to finally get it to work:

  • Download the image provided by Beanie
  • Create a new 1.6 device in eclipse and give it the good system partition size (>78MB)
  • extract Beanies rar file and copy the system.img to ~.android/avd/YOUR_PHONE
  • By the way, to get notified about new posts, just enter your email address on the right :)

    Leave a Reply