Thursday, November 5, 2009

Android Market on Emulator

Wow, This is cool. Finally, I am able to run the Android Market on the emulator. And also, see all the paid apps and copy-protected app, right here on my emulator.

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 .avd\MyPhone\ and paste this system.img file here.

Now start the emulator. Voila, You are ready to go. After you sign in with a google account, your phone is ready to use. You now have access to all the market apps right from your emulator.

Note: If you are not able to run it successfully, and if you are getting Network communication error, please download the AVD that I have created from this link.

Link for 1.5 image
www.4shared.com/file/147420185/da5381e1/avd.html

Link for 1.6 image
http://www.4shared.com/file/165624746/fc72c3ed/system.html

220 comments:

  1. Doesn't work as described above. I downloaded the 1.6 zip file, copied the extracted system.img file into my avd/[emulator name].avd/ folder, and now the emulator doesn't start. It hangs on the first android splash screen (the word android in small font with flashing underscore cursor). If I remove the file again, it starts just fine.

    ReplyDelete
  2. I also had problems on the first start. Closed the emulator, restarted it with -wipe user data option.

    Now I have 1.5 and 1.6 HTC images running on the emulator. And, the funny thing is, when I logged into google on the phone, I got a mail from google saying that, congrats on purchasing Android phone . :)

    ReplyDelete
  3. Im managed to start 1.5, but it wannt that i slide the keyboard??... this is not important, i wanted to start 1.6, but i get:
    emulator: ERROR: system image file too large for device's hardware configuration (78MB > 72MB)
    Where can i change that device conf?
    Im a mac user :)

    ReplyDelete
  4. If you get the 78MB > 72MB error do the following. Add this line to the config.ini file:
    disk.systemPartition.size=90MB

    ReplyDelete
  5. Everything seems to work fine, but I get no connection. Tried to enter an APN with the settings in the default system.img and still no go...

    I've followed your instructions exactly.

    ReplyDelete
  6. To slide the keyboard, just change the orientation of the emulator. And to slide it back, again change the orientation to the default portrait mode.

    As for the APN settings, I didn't have to do anything. It started working, as soon as I signed into my google account.

    ReplyDelete
  7. Strange, i get also no connection, althrough i used gsmModel key...
    thnx Beanie for the tips.
    Beanie: can you post the keys your are using to start the emulator?

    ReplyDelete
  8. I didn't use any key to start my emulator. I directly started my emulator from the eclipse.

    BTW, I am not aware of what a gsmModel Key is. Sorry.

    ReplyDelete
  9. I also get no internet connection :(
    Anyone got a motorola droid system image?

    ReplyDelete
  10. Anyone else got it working, or I am just the only lucky one??

    ReplyDelete
  11. I'm having the connection problems as well. I can poke around, but it always says it has no service.

    ReplyDelete
  12. This is weird. Because I didn't do any extra thing. I have already created 3 AVDs with the images, and all of them are fine.

    ReplyDelete
  13. Forgot to mention my setup, where it doesn't work:

    I'm using the SDK Setup tool included with the latest package from http://developer.android.com/.

    I'm creating a normal Android 1.6 VHD through the same tool with default settings, the only thing I have to change in order to boot the new system image is the data partition size from 72MB to 96MB.

    ReplyDelete
  14. May be this would help.

    I created all of my AVDs from the eclipse plugin. And then, I copied the system.img file to that directory without deleting any other files. Didn't change any configs also.

    If anyone has successfully done this, please let us know if you have done something different.

    Note: I had a 1.5 installation, and then I upgraded it to 1.6, and finally 2.0 all with the eclipse plugin. Perhaps, there is the catch, but I am not sure.

    ReplyDelete
  15. please make a rar archive with your working avd and put it on rapidshare.

    ReplyDelete
  16. don't forget to make the avd with 1Giga sdcard.

    a 1 Giga avd freshly made with the system.img added only takes ~50Megs compressed as RAR, so you could easily upload it.

    thank you :)

    ReplyDelete
  17. I've been from sdk 1.5 to 1.6 to 2.0.
    A default 1.6 AVD that I create from the eclipse interface works fine and I get a connection to the internet. When I create a new 1.6 AVD (partition @ 96mb) and copy the image file over I get the market app, but no connection to the internet. When I 'Search for Networks/Search Automatically' I get the error message 'Your SIM card does not allow for a connection to this network' (I'm in the UK).

    ReplyDelete
  18. Hold on guys. I am preparing the rar file that you can download. I will be uploading the file and will share the link.

    I don't understand why it doesn't work for you guys. Each time I create a new AVD, I am able to see the market app, and I have internet connection.

    ReplyDelete
  19. Please find the AVD link

    www.4shared.com/file/147420185/da5381e1/avd.html

    ReplyDelete
  20. Zomg!? Tnx Beanie!

    I got it to boot!

    If you like me are a Windows user and utilize the SDK Setup to boot your AVD:s, please remember to change the path in the file
    C:\Users\USERNAME\.android\avd\AndEmu.ini to a correct one.

    ReplyDelete
  21. What about the network communication error??

    ReplyDelete
  22. The network communication is working just fine! Got a bit to excited there and forgot to put that in my last post...

    I have a theory now: You hare linking to the ION image, yet you are yourself using the ADP1 sytem.img. I think that this is why it wont work for the lot of us, have to try one time with teh ADP1 system.img to confirm it.

    ReplyDelete
  23. Please share your findings with us when you find the actual reason as to why others are not able to boot it up correctly.

    Thanks for you comments.

    ReplyDelete
  24. 1.5 works, 1.6 doesn't.
    First created avd for 1.5 without sdcard - didn't work.
    Then added sdcard - worked.
    Now 1.6 doesn't work with sdcard - network communication error.

    ReplyDelete
  25. Beanie, I think the reason people are having trouble is because the system.img file in your RAR is a different size than anything I can find on the HTC dev website. When I just copy your system.img to a 1.5 AVD, it works fine, but using the one downloaded from HTC, there's no 3G network. Your system.img file is 72,424,668, but the on in the signed-google-ion-img-150275.zip is 68,139,455. Maybe they've swapped them out since you downloaded them. Also, I noticed that when I boot your system.img, it says something like "Welcome to the Google Dev Phone 1" or something like that. The other says "Welcome to the Google Ion Device". Can you verify where you downloaded your images from and what the filenames were?

    ReplyDelete
  26. Hi, I don't have those files with me now. I have kept the img files only with me. :(

    I will download and try to setup another avd with the images from HTC and will let you know.

    ReplyDelete
  27. Hey, just want to say thanks very much :) Works really well.

    ReplyDelete
  28. By the way, I still have a 1.6 system image which works with the emulator. If you need it, I will upload that as well.

    The 1.6 image from HTC doesn't work now. "No network connection" :(

    The 1.5 now doesn't even boot. I get the message, 'System will crash' and it keeps on trying.

    ReplyDelete
  29. The trick seems to be to use the system.img from an ADP1 image - grab the appropriate one from here rather than the Ion link above. I started with a 1.6 Ion image, got no connectivity, then replaced system.img with the one from the ADP1 1.6 image, and bingo connected!

    ReplyDelete
  30. Ya, I think you are right. I had downloaded both the images, and I didn't remember which one worked.....

    Sorry :)

    ReplyDelete
  31. This comment has been removed by the author.

    ReplyDelete
  32. I would like to know if you can download apps from the market

    ReplyDelete
  33. Hi Beanie,

    Thank you for doing this. How do you get the apps out of the emulator?

    ReplyDelete
  34. I can download apps fine on the emulator doing everything listed here. Some of the most popular apps won't download, like Pandora, but ive been able to successfully download 99% of the other apps i've tried. And they run/play perfect.

    ReplyDelete
  35. Downloaded the adp1 zip file, extracted system.img to the 1.6 avd directory and everything works fine... thank you

    ReplyDelete
  36. I don't find the adp1 zip file on the HTC website. Can someone upload it?

    ReplyDelete
  37. www.4shared.com/file/147420185/da5381e1/avd/html

    ReplyDelete
  38. I tried that avd, and it works. But it uses a 1.5 image. Can you give me a link to a 1.6 avd?

    ReplyDelete
  39. Hi,
    This downloads link on this page are now disabled.

    http://developer.htc.com/adp/html#s3

    Please check after some time. If not, just drop me a message, and I will upload the image file i have.

    ReplyDelete
  40. I really need a 1.6 image that has the market and network ability. COuld you please post the images from the previous htc download site, as they are now dead links.

    ReplyDelete
  41. Link for 1.6 image

    http://www.4shared.com/file/165624746/fc72c3ed/system.html

    ReplyDelete
  42. Thanx, I managed to create an avd with the 1.6 img. It works well. Thanx again for the wonderful idea!

    ReplyDelete
  43. Any news on Android Market for 2.0?

    ReplyDelete
  44. Not yet...I guess, We will not be able to get any more free images, atleast for HTC. :(

    ReplyDelete
  45. thanx Beanie for all that!

    I still get an error on the 1.5, I can launch the application ok, connection ok throught the browser but when i try to login into he market I have the error "can't established a reliable data connection to the server".

    Do you have any clue where is it coming from?

    ReplyDelete
  46. Thx for a good post. I still have some problems. I got the marketplace working, but I can not add camera suport to the emulator.

    Any suggestions?

    Klen

    ReplyDelete
  47. Hi Klen,

    Even I haven't been able to make the camera work. This is probably because, the Camera app is searching for HTC hardware, which it doesn't find. So, I think you cannot make it work.

    @Max - I am not sure why you are getting that error. I will check and let you know if I can find something.

    ReplyDelete
  48. I figured it out.

    Create an avd with camera support and do the thing to get marketplace to your emulator. After your marketplace is installed, remove the system.img from your avd and restart the avd. Your camera should be working now. (btw. I am using avd version 1.6)

    Klen

    ReplyDelete
  49. Hello All,

    I get it working ok, it was a proxy problem on my side...

    thanx anyway and great job!

    ReplyDelete
  50. is there a way to do this with android 2.0?

    ReplyDelete
  51. I am trying to figure out. But, it doesn't seem to be possible to me unless, we get the image. :)

    ReplyDelete
  52. Thanks a lot, those explanations were very helpfull.

    ReplyDelete
  53. I got it working on 1.6, but the Android Market can't seem to download any apps... it shows the download starting and then hangs. I wonder if there are certain ports it's trying to access that are being blocked by our school firewall.

    I finally resorted to downloading the .apk file for the apps I wanted to try out and used "adb install thefile.apk" to install them on the emulator.

    ReplyDelete
  54. I had no connexion the first time. I thaught that was over lol.

    Then I had the idea of clicking on "Emergency Call". I waited 10 sec and went back.

    After this operation i had Wifi + GSM logo on the screen !!

    Now everything works

    ReplyDelete
  55. I had the no connection problem as well.
    What solves it for me is the 1G SD.
    My first attempt was with 128mb and it did not work.
    Once I created 1G it worked from the first time.
    I used the system.img from the HTC site.
    Hope the helps

    ReplyDelete
  56. Is ther an image for android 2.0 with market app?

    ReplyDelete
  57. Thanks for great tip :)
    Where can I find image for android 2.0 with market?

    ReplyDelete
  58. can you tell me how you fix the network error problem of 1.6 version?Just study

    ReplyDelete
  59. @Danillo, I tried searching for a 2.0 image, but haven't yet found one.

    @Ray, Well, If you follow the steps carefully, you would not get this error.

    ReplyDelete
  60. I am a Mac user, the link you gave us, Kumar,
    Link for 1.6 image
    http://www.4shared.com/file/165624746/fc72c3ed/system.html
    it doesn't work for Mac's. If you had a link for me to download the system.img (1.6) for my MacBook, that would be appreciated.

    ReplyDelete
  61. Great! It works! Thank you!

    ReplyDelete
  62. Just tried it today and its working. Working with the AVD prodided. Many thanks.
    - Viraj

    ReplyDelete
  63. Thanks a lot!!

    I needed to see the marketplace before I developed anything...

    ReplyDelete
  64. @michael I got it working with the 1.6 target and the system.img linked from here fine, can download apps (Shazam, woo!) but still struggling to get audio to work... :( any ideas?

    ReplyDelete
  65. I tried to load "Tetrads" the tetris game, but it didn't find it in the market.

    Any ideas why?

    ReplyDelete
  66. Hi Tony,

    Which version are you using? 1.5 or 1.6. I searched "Tetrads" on 1.6, and it shows two apps, Tetrad Drop Lite and Tetrads Drop.

    ReplyDelete
  67. I've tried both 1.5 and 1.6. On my 1.5 Droid Eris, it also shows Tetrads the game (com.rdg.android.tetrads).

    ReplyDelete
  68. I'm so excited android marketing.... oh ya..

    ReplyDelete
  69. Hi, this instruction is working 4 me, I can download applications to my android profile, but I have two questions:
    1. I can see all the applications on the market with using android emulator?
    2. Where are the downloaded applications saved? Can I find them somehow and use them in real mobile with android? /I tried to open the SD card image, but without success/

    Any ideas?

    Thank you

    Tom

    ReplyDelete
  70. I don't think that you can do this.

    ReplyDelete
  71. Has HTC removed the market from the image file since last November? I followed the instructions (built a 1.6 AVD, copied the system image file, started the emulator with wipe user data option) and the emulator came up, but I don't see the market app installed. Went to Menu>Settings>Applications>Manage Applications in the emulator, but did not see Market installed.

    In my ~/.android/avd directory, I have both my new version 1.6 AVD side by side with my version 2.1 AVD,
    but I thought they were supposed to be able to coexist
    in there w/no problems.

    As an aside, here is a post about a G1 emulator with Android Market access:

    http://www.androiddevelopment.org/2009/01/29/how-to-access-the-android-market-without-a-real-phone/

    ReplyDelete
  72. I can’t find out where to place the files. I downloaded the 1.6 image from HTC, and I’m using the Android SDK for Mac with the emulator. Any ideas?

    ReplyDelete
  73. @Anonymous : Just copying the system.img file into your AVD directory should be fine. You don't have to do anything else.

    @usracer47 : You need to create an AVD first with eclipse, and then put this system.img file into the AVD directory.

    ReplyDelete
  74. Hi this is anonymous from earlier today (March 13) ... my problem was that I coped the system.img to my ~/.android/avd directory when I should have copied it to my ~/.android/avd/ directory. I now
    have the Android Market up in my emulator. Thanks for
    posting this.

    And by the way, has anyone gotten any clarification
    whether this is ok with Google? I don't know why
    it wouldn't be and my only purpose is to survey
    the marketplace before committing time and money
    to app development and buying a physical dev phone.

    But it would be nice to know of an explicit ok
    from Google, if any exists. I didn't have the
    patience to read through all the legalese but
    one of the first few paragraphs says they can
    shut down your Google account for violating the
    terms or for any reason they decide to.

    I would think they should be ok with potential
    devs using the emulator for the purposes I
    mentioned.

    ReplyDelete
  75. Hi.

    I've installed the emulator in Windows, downloaded the avd and uncompressed it in the right location. I've updated the ini, but now trying to run the emulator gives:

    emulator: ERROR: could not find required kernel image (kernel-qemu).
    emulator: Maybe defining ANDROID_SDK_ROOT to point to a valid SDK installation path might help ?

    Can anyone help?

    Thanks

    ReplyDelete
  76. Hi, does it work for 2.1 too?

    I tried the system.img of 2.1 stock ROM EPE76, downloaded from MoDaCo, wipe the data, but it hangs at the "android_" screen.

    I appreciate any help.

    ReplyDelete
  77. I haven't tried. Can you please post a link to the image file. I will try and let you know.

    ReplyDelete
  78. Thanks for the quick reply.

    Image file is at MoDaCo, and required registration for downloads.

    http://android.modaco.com/content/google-nexus-one-nexusone-modaco-com/300414/22-mar-erd79-epe76-stock-rom-for-nexus-one-images-zip-online-kitchen-optional-root-insecure-himem/

    I'll try to upload system.img to a storge service. It may take a while since my upload bandwith is very limited (<25 KB).

    ReplyDelete
  79. Thanks. I'll try the 1.6 image file and keep looking for 2.1 market.

    ReplyDelete
  80. Hi, I have got it work well now. But there are some problems. First, after I installed some software, I found my "Android SDK and AVD Manager" doesn't work well. When I double clicked the "SDK Setup", it showed a command window and went away fast. I think that is because some software changed the system variables' value, but I can't figure it out so I just reinstall the XP system.
    Second, how can I use Fiddler or some other tools to get the traffic between the emulator and google. I mean when I go into the market, google will return some information, how can I get these information by Fiddler?
    Thanks!

    ReplyDelete
  81. Hi,it worked well.when i download the app,where can i find in pc?

    ReplyDelete
  82. Hi ,
    I am able to boot the emulator 1.6 using the HTC ADP image.I am behind a firewall. But the problem is even though I set a proper http proxy and port no in the network settings I still am not able to connect to the google servers to access the android market. It throws a N/w connection error and in the logcat I get:
    I/CheckinService( 53): Sending checkin request (51037 bytes)...
    W/CheckinService( 53): Checkin failed: java.net.UnknownHostException: Host is
    unresolved: android.clients.google.com:443
    D/GpsLocationProvider( 53): NetworkThread out of wake loop
    Checkin failed: java.net.UnknownHostException: Host is unresolved: android.clients.google.com:443\

    PLEASE HELP ANYONE WHO FACED THE ERRORS.
    I AM USING 1.6avd ON THE LATEST ANDROID EMULATOR

    ReplyDelete
  83. Hi Simran, Try restarting the Emulator. This might fix this.

    ReplyDelete
  84. Hi ,
    Thanks for the response
    I tried restarting the emulatordoes not help :(
    And as suggested in one of the posts above I have created the AVD with 1 GB sdcard.
    Also my APN settings (http proxy)seem to be proper as with a normal 1.6 emulator(without system.img) I am able to use the browser and connect to different websites.
    I am not able to figure what could be the issue

    ReplyDelete
  85. Btw on the emulator display I get the following error:
    "Cant establish a reliable data connection to the sever
    This could be a temporary problem or your SIM card may not be provisioned for data services.
    If it continues call Customer Care"

    Any inputs would be of gr8 help
    Thanks

    ReplyDelete
  86. Hi simran,
    Just try this proxy ip:10.0.2.2

    ReplyDelete
  87. Damn, working...
    Many thanks, Kumar!

    ReplyDelete
  88. Worked great. FWIW, to change orientation (which is needed to get the keyboard) on the Windows emulator, you press CTRL-F11.

    ReplyDelete
  89. I followed the steps and ran the emulator, but it is failing at the Google login step. It does not find a network connection. My internet conenction is through ethernet connected to a 3G router. But seems to me that shouldn't matter...

    Any advice on how I can make this work?

    ReplyDelete
  90. Thanks Paul. The correct link should be:
    here. To avoid problem with connectivity issues.

    ReplyDelete
  91. So with root access to the emulator isn't it possible to upload the apk files you downloaded from the market onto a server using scp or something?

    ReplyDelete
  92. Hi Beanie,
    how do you upgrade to 1.6?
    the avd you posted is firmware 1.5, and when I tried to use Settings -> System Update, it says:
    Your current system is currently up to date

    Thanks

    >May be this would help.

    >I created all of my AVDs from the eclipse >plugin. And then, I copied the system.img file >to that directory without deleting any other >files. Didn't change any configs also.

    >If anyone has successfully done this, please >let us know if you have done something >different.

    >Note: I had a 1.5 installation, and then I >upgraded it to 1.6, and finally 2.0 all with .the eclipse plugin. Perhaps, there is the >catch, but I am not sure.

    ReplyDelete
  93. It worked for me on HTC Dream firmware 1.6 running in emulator, and with my custom Eclair 2.1 build as well. But it's purely random: sometimes it works with Android or TelKilla APN settings, sometimes it doesn't. If I didn't work for you right away, try wiping the userdata and boot up again / install Vending.apk sometime during the emulator reboot. Now I have two working emulator images with Android market: one with 1.6 and another one with 2.1.

    ReplyDelete
  94. Could any one post a working rom for 2.1? really appreciated!!

    ReplyDelete
  95. If anyone on Linux (or mac) is having trouble with opening the AVD's that Beanie posted, edit the config file to point to /home/your-username/.android/avd/nameofavd.avd in the path= part, he's using Windows to do this ;)

    ReplyDelete
  96. Hello Guys,

    DevITSolutions is offshore mobile development industry since more than 7 years with venture of new technologies our potential and competent team of developers has quickly developed high levels of proficiency to offer to you for your diverse needs.

    We are proficient in developing core Android applications like email clients, maps, calendar programs, browser, contacts, and others written in Java. It would be our pleasure to answer all your queries concerning android application development, android game development, android mobile application, and offshore android development services. Please feel free to Contact Us for your Android development needs today.

    For more details about our Android Application Development Services:

    Visit Our Site @
    http://www.devitsolutions.com/android-applications-development.html

    ReplyDelete
  97. I cant find my avd and sdk directory.

    ReplyDelete
  98. What OS are you using. In Windows, look inside Documents and Settings for the current user.

    You might have to enable "Show hidden files" first.

    ReplyDelete
  99. You should first enable "Show hidden files" Then in your home folder, you will see the .avd directory

    ReplyDelete
  100. i got mines to work as well thanks for all ur help guys and girls

    ReplyDelete
  101. someone reupload the 1.6 image to mediafire.com please! I cant download from 4shared

    ReplyDelete
  102. I keep getting an error when trying to sign in with my google account:

    The application Setup Wizard (process com.android.setupwizard) has stopped unexpectedly. Please try again.

    What do I need to do?

    ReplyDelete
  103. How do you do this on a mac?

    ReplyDelete
  104. @seanbperiod: Try setting up another AVD. I never got this problem.

    @Mike: It's the same procedure. Just copy the system.img file to your AVD directory.

    ReplyDelete
  105. Any chance we can get one for android 2+
    just wishing... :)

    ReplyDelete
  106. 1.6 keeps showing an error when i try to extract it after downloading. any one get the same problem or have a solution?

    ReplyDelete
  107. What do you mean by extracting? Do you mean the apk? I don't think you can do that.

    ReplyDelete
  108. when i download the 1.6 image at the top of this page, it downloads as a zipped file and when i try to extract it, winzip and 7zip say that there is an error in the file

    ReplyDelete
  109. on the HTC site listed above, it explains that "Currently, only an Android 1.5 system image package is available." Does any one know where i can get this image or when it will be available?

    ReplyDelete
  110. @Trent: The file that you are downloading is not an archive. You don't have to unzip it to use it. You can use it as it is.

    ReplyDelete
  111. Hi Kumar.. Is it possible to install Android Market on Android AVD 2.2

    ReplyDelete
  112. I haven't found out a way. Haven't looked at it either. :(

    ReplyDelete
  113. can you use your phones backup image with this.
    would like to run apps from my phone on pc

    ReplyDelete
  114. Hi I couldn't get 1.5 or 1.6 to work. Both hang on the start up screen of the emulator.
    I'm running the Android plugin within Eclipse Helios 3.6 under Win XP.
    All the other Android functions work OK eg create and run emulator for 1.5, 1.6, 2.1, build and run sample Android apps on emulator etc.
    Any ideas?

    ReplyDelete
  115. That all is working here with 1.6

    Is there a way to copy files like mp3 from and to the virtual SD card?

    ReplyDelete
  116. Sure, You can do that thru eclipse, the normal way..

    ReplyDelete
  117. When I tried downloading the Image from HTC I didn't have internet access. When I tried the image file provided for the 1.6 in this page, it worked perfectly. It seems HTC has changed something since this was first posted.

    Thanks a lot!

    ReplyDelete
  118. This comment has been removed by the author.

    ReplyDelete
  119. Hi,

    Everything works fine until I try to access the Android market. It prompts an error message saying "An Error Has Occured. Please Try Again Later"

    ReplyDelete
  120. @Startrek: Looks interesting. I will give it a try. Do let us know if any one else got it working.

    ReplyDelete
  121. I can get the "AndEmu" that you provided at http://www.4shared.com/file/165624746/fc72c3ed/system.html
    to run and log into an account. Network access works - but any attempt to use marketplace results in continous "Server error occurred, Retry or Cancel" pop-ups. Cannot actually use marketplace.

    ReplyDelete
  122. I followed the second link provided by startrek and it worked! thanks a lot for sharing!

    ReplyDelete
  123. Hmmm,I will try with that, and let you know.

    ReplyDelete
  124. I'm having the same problem as Ricky, the AVD is working, i do have network access, but when i start android marked I just get "Server error occurred, retry or cancel".. any fixes for that one?

    ReplyDelete
  125. This is just a kind of workaround. There are no fixes that I can do. Either it works, or it doesn't. :)

    I get it working all the time. May be you are doing something wrong. I am not at all sure. Sorry

    ReplyDelete
  126. WHEN I GO TO MARKET ALLWAYS SAYS SERVER ERROR

    ReplyDelete
  127. This is interesting and for sure I will find time to try this out. I just hope that everything will turn out fine as mentioned earlier either it works or it doesn't.

    ReplyDelete
  128. I'd tried the 2.2 tricks and it works only with 2.2 platform, 1.5, 1.6 and 2.1 all doesn't work. However, some applications are not found in the market.

    The 1.5 image here failed with similar Server errors but resume normal when I retry 2 days later.

    ReplyDelete
  129. I have spent a lot of time trying to get this to work and have tried various system images available on the net. I'm either getting the server error or marketplace just crashes. Either way it's for the For the same i.e.. reason the marketplace app is unable to read the Terms of service URL. Logcat reports the following:
    W/vending ( 292): com.android.vending.TosChecker$TosDialogAccessor$TosDialog.onStart(): Could not read ToS URL from GServices.
    What I don't understand is why others have had success and no matter what I do I cannot get past the TOS screen. Very frustrating! I want to develop some Android apps and I'd like to look at some of what's currently available before I begin. I can't afford and Android phone right now.

    ReplyDelete
  130. Would you believe it, no sooner had I sent my previous post when I received a message in my Gmail account congratulating me on purchasing an Android phone. I went back to the emulator and Lo and Behold it's working. Weird considering I've been trying for two days and I didn't change a thing.

    ReplyDelete
  131. Hahahaha, Congrats Richard, on buying a new Android phone.... :D

    ReplyDelete
  132. whenever I go to the market, it comes up with " An error had occurred, please try again later.

    ReplyDelete
  133. Same problem here.. "An error has occurred. Please try again later." Looks like Google disabled this hack.

    ReplyDelete
  134. It's not disabled yet. I can still create emulators with the market app. However, I am not sure what the problem is. Perhaps, when the emulator loads up, give it some time to get the network connection up.

    ReplyDelete
  135. @photonslayer

    Did you get this resolved? Same issue here!

    ReplyDelete
  136. Same here. It was working couple days ago and all of a sudden, it stopped working.

    ReplyDelete
  137. I also got everything set-up but ended up with the error "can't establish a reliable data connection to the server" whenever I clicked on the marketplace. Then today I went to a starbucks and just for the heck of it I tried it again and it works here. Go figure, I guess it needed some coffee ;-) Or maybe it's having problems with the secure wifi at home? Nah, couldn't be. Must be the coffee.

    ReplyDelete
  138. in the build.prop change
    #ro.config.nocheckin=yes to =#
    that should stop the TOS issue
    just pull it off the emulator, fix it, and push it back on...im trying to get this stupid 2.2 to grab my contacts but it wont sync

    ReplyDelete
  139. How to get Android market on Android 2.2 Emulator

    ReplyDelete
  140. If your downloads don't start, try using

    http://code.google.com/p/market-enabler/

    It worked for me :D

    ReplyDelete
  141. Hai,

    this tutorial is very helpfull. i've create indonesian version based on this tutorial

    http://www.triplelands.com/tutorial/install-android-market-di-emulator/

    Thanks Alot

    ReplyDelete
  142. I've create tutorial for Android 2.2

    check this out

    http://tech-droid.blogspot.com/2009/11/android-market-on-emulator.html

    ReplyDelete
  143. For those of you who have gotten 2.2 working on the emulator with the Market, is it possible to install the Flash Player to enable Flash in the emulator? If the Flash player isn't available in the Market, would it be possible to utilize a 2.2 image for the EVO?

    ReplyDelete
  144. thank Beanie , it worked with your avd .
    Thanks again.

    ReplyDelete
  145. After much determination and with the help of a blog I found by David L I was able to succesfully creat a 2.2 image with the market app. Here is the image file. Do the same as above, but choose the 2.2. Be sure to select 96mib for the SD card size.
    Here's the image file, enjoy!
    http://www.4shared.com/file/qjANIsHH/system.html

    ReplyDelete
  146. @Anonymous: Thanks a lot. I will be putting up a new post for this. Would you mind giving the link for David's blog?

    ReplyDelete
  147. I think I may have jumped the gun. When I logged in, created an account, etc the market app did come up but was very limited. I can't figure out how to get all the apps to show up like my phone does.
    Can anyone figure that one out?
    here's David L's link:
    http://anythingsimple.blogspot.com/2010/09/how-to-use-android-market-on-android.html

    ReplyDelete
  148. Yep, Seems to be an issue. No idea though.

    ReplyDelete
  149. I'm definetely no developer, I'm a newbie so hopefully some of you pros can use this as a starting point. I have a feeling it has something to do with the Vending.apk file I used from MoDaco. After reading the comments on Davids page it seems that that file is not getting the live updates.
    Anyone have anythougts on this?

    ReplyDelete
  150. For some reason I cannot get the GPS to work using the 1.5 image. I tried activating the GPS in the settings of the phone, then telnet the coordinates or use the DDMS of Eclipse. The GPS icon never shows up and Google Maps does not find my location. Any idea? Has anyone got it working? Thanks in advance.

    ReplyDelete
  151. Yes, I don't see any apps too, just basic stuff any idea why?

    ReplyDelete
  152. thank buddy its work in my emulator but i try intals pmessenger and pingchat but it ready account inside..
    how to make pm and ping pure my account thank..

    ReplyDelete
  153. can't connect to internet when i add system img .
    plz help!

    ReplyDelete
  154. This link resolves everything: http://developer.htc.com/adp.html

    He posted the wrong link in his tutorial.

    The file you want is: signed-dream_devphone_userdebug-img-14721.zip

    NOT: signed-google_ion-img-14721.zip

    The difference? One is for the "Google I/O Device" and the other is for the "Android Dev Phone". The Google I/O Device image does not have an internet connection.

    ReplyDelete
  155. Hello
    I have set up and avd 1.6; then copied the system.img, everything seems fine, but I dont see the market icon!?
    I alsio tried the system.img into & 2.2 avd, and was blocked signing into google because it wants me to slide keyboard open to continue and I dont see how..
    Agnes

    ReplyDelete
  156. Hi
    I finally see market is there (the graal... 3 weeks I am trying) but.. am blocked to sign in Google with the "slide keyboard" instruction. is ee up there you say "change the orientation of the emulator." but I dont know how to do that. Am on the PC virtual device...?
    Thanks a lot for help
    Agnes

    ReplyDelete
  157. oups... finally o got over the last issue of sliding keyboard.. now fighting with "no connect" and trying all the above...

    ReplyDelete
  158. Hey: this is working! using 1.6 and this link:
    http://developer.htc.com/google-io-device.html#s3
    I Love IT!
    3 weeks I have been tryong to restore a failing chinese device (does not download from Market) and wondering what I could od with it without .apk. N?ow I'll be able get them from here!
    WOUAH! THANKS SO MUCH

    ReplyDelete
  159. oups... dont tell me.... I got all this working on 1.6 with the HTC 1.6 system image from here http://developer.htc.com/google-io-device.html#s3
    ... market is here, I get apps.
    But when I try download i get the same stupid "starting download" forever as on my chinese device (that used to work with limited market access, and does not anymore after a factory reset and flash). Is it possible something got screwed and is attached to my Google account? Does anyone have the sampe problem with this bautiful workaround that is proposed here?
    Help... I am getting desperate, spending hours and nowhere!

    ReplyDelete
  160. Followed instructions using 1.5. The emulator starts normally and doesnt ask me to log in with google account. Still no market link.

    ReplyDelete
  161. When it asks you to slide the keyboard open, just rotate. Shortcut for this is NumPad 7 and 9.

    My market was working ok, but it downloaded some updates and now it's not working anymore :-(

    ReplyDelete
  162. I finally got this working, thanks to all the user comments. I am using Mac OS 10.5.8. The main problem i had was the network comm error. Here's what worked:
    1. Created an AVD v1.6 in Eclipse
    2. Downloaded system image file called
    signed-dream_devphone_userdebug-img-14721.zip
    from http://developer.htc.com/adp.html
    3. Unzipped download.
    4. Used Mac terminal window to copy system.img file from download to the avd's directory:
    /Users//.android/avd//
    5. Started up the AVD in Eclipse, so far so good.
    6. Was prompted to slide the keyboard open. To do this, I rotated the screen by pressing the
    + + keys simultaneously. This is the key sequence for a Mac.
    7. I was prompted to sign in to my gmail account. After attempting this, I got the network comm error. The solution was to shut down the AVD and restart it, this time touching the "emergency call" button. This gave me the connection. I then redid all the google login stuff and it worked!
    8. Went back to home screen to see the Android Market icon. Yay!
    9. Tested it by downloading Angry Birds.

    Thanks to everyone who posted their problems and solutions here and thanks to Kumar for the how-to. You are all awesome!

    ReplyDelete
  163. Does Angry birds run smoothly on the emulator?

    ReplyDelete
  164. Oops, it looks like stuff is missing wherever i used pointy bracket chars in my previous post, so some of the info is not there... Here it is:
    The path to the AVD's dir doesn't appear correctly. It should look like
    /Users/myusername/.android/avd/myemmulatorname/
    Also, the Mac keys to rotate screen should be shown as
    fn + control + F12.

    hi Kumar! To answer your Q about Angry Birds, the movements are a little choppy. For real play, i use my Samsung Galaxy Tab. It's just cool, though, that the emulator can be set up to access the market. Like some other users mentioned in their posts, after i used the market once and then exited, i couldn't get it to work anymore. A few days later it magically started working again. Weird!

    ReplyDelete
  165. Cool man, thanks for this one.

    ReplyDelete
  166. is there a way to save the current states of the android system after i close the AVD and windows?

    so after i come back and load the AVD again, it will see what i previous see before shut down.

    ReplyDelete
  167. Yes..update you adt plugins and android toolchain

    ReplyDelete
  168. I got the whole thing working... EXCEPT...
    When I download apps on my tablet (Entourage PE), I can still see the .apk files in the Download folder.
    But this emulator has no download folder. The apps install, but that's useless because what I need is the .apk files, so I can copy them to an Android tablet that DOESN'T have "Market". (although Entourage eDGe is now up to Froyo, the Market still doesn't work)

    ReplyDelete
  169. @teapac_hh

    So if you have did all things including setting up and account for the market, you can download apps on your pc at market.android.com

    all you need is sign in the account you've created on the app market on your emulator...

    ReplyDelete
  170. when i log in with my google account it shows a network problem .
    im using it on the 1.5 emulator.
    plz help!!!!

    ReplyDelete
  171. Just a quick note to say thanks to Kumar & commenters and particularly Dawn M. I have Android 1.6 with Market working on my 3 year old MacBook Pro (Snow Leopard). I did need to use the fn + control + F12 to rotate the screen, but no problems with connection after that. One hint - install something like Advanced Task Killer (Free) from the Market in order to shut down all the apps you install!

    ReplyDelete
  172. The application Setup Wizard (process com.android.setupwizard) has stopped unexpectedly. Please try again.

    How to fix this?

    Using the latest SDK and the 1.5 image

    ReplyDelete
  173. @Kaushik: Try the 1.6 stock. It still works for me.

    ReplyDelete
  174. Thanks for sharing this information and resources its really help full for me with the help of this we can improve we design and development .
    Web Design Company India

    ReplyDelete
  175. So if i take a system.img from anywhere and put it in the avd folder itll run that system

    ReplyDelete
  176. Broken Link, Please re-up. Thanks

    ReplyDelete
  177. Could you please upload it at mediafire, cosi have tried so many times to download but fail, thanks.

    ReplyDelete
  178. Anyone knows how to do this with android 2.3 gingerbread? Is there any system.img like this?

    thanks

    ReplyDelete
  179. Great post, this helped me lot in getting up the android market on my SDK

    free dating sites

    ReplyDelete
  180. Worked right away (the provided system.img 1.6 file)
    Thank you

    ReplyDelete
  181. Its good information about android and i got a good knowledge. so i would like to thank for providing this knowledge.

    ReplyDelete
  182. Hi, when I download 1.6 on my mac it says disk can't be mounted. How can I fix this? Also, my Android Virtual Device Manager is not creating the path files for me to put the 1.6 disk image in. It shows me where to find it but when I go to find it, it's not there. Can you help with this?

    ReplyDelete
  183. You are not supposed to mount it on your Mac. Use it as it is.

    Those folders are hidden folders. So, you will need to somehow make it show those files, or use the command line.

    ReplyDelete
  184. awesome it works fine....
    Can anyone please help me for PAGE CURL EFFECT..
    I want to add layout to page curl effect so that i can add any components that i want.
    Please reply with any example. thanks. Sandeep.

    ReplyDelete
  185. it works but when i click the Market there are no apps displayed, even i search for it it says no application available, anyone can help me?

    ReplyDelete
  186. same problem, no apps on the market

    ReplyDelete