After some digging, finally I got android market working on Android emulator 2.2 running on Windows Vista. Here is the steps,:
copy c:\labs\android-sdk-windows\platforms\android-8\images\system.img .
C:\labs\android-sdk-windows\tools>adb.exe push build.prop /system/build.prop
C:\labs\android-sdk-windows\tools>adb.exe push c:\labs\r21-update-nexusone-modacocustomcustomrom-withadditions-chinese-signed\system\app\Vending.apk /
system/app
C:\labs\android-sdk-windows\tools>adb shell rm /system/app/SdkSetup.apk
- Start SDK Setup.exe and create an AVD - android-2.2
- Copy system.img coming with the SDK platform to the newly created AVD.
copy c:\labs\android-sdk-windows\platforms\android-8\images\system.img .
- Start the emulator by using command line:
- Pull build.prop from the emulator for editing:
- Comment out ro.config.nocheckin=yes line from the build.prop file just pulled out from the emulator.
- Push back the updated build.prop file to the emuloator
C:\labs\android-sdk-windows\tools>adb.exe push build.prop /system/build.prop
- Grab the MoDaCo Custom ROM for Nexus
- Push GoogleServicesFramework.apk, Vending.apk to emulotor, and remove SdkSetup.apk
C:\labs\android-sdk-windows\tools>adb.exe push c:\labs\r21-update-nexusone-modacocustomcustomrom-withadditions-chinese-signed\system\app\Vending.apk /
system/app
C:\labs\android-sdk-windows\tools>adb shell rm /system/app/SdkSetup.apk
- Stop the emulator and delete the files: userdata-qemu.img, userdata.img, cache.img
- start the emulator by using command line again, you should get the Android Market in your emulator.
This is one of the significant post.Your blog is bringing very useful post.I like your post detail.
ReplyDeleteAndroid app developers
Interesting blog and i really enjoyed to visit your blog and i think most of the peoples are likes your entertainment blog because they get good enjoyment to read your information.
ReplyDeletecan you tell me is there any problem when installing android market on window 7.
ReplyDeleteI have followed all the steps but still there is no android market, then i try to use system.image post by other (for emulator 2.2). I got android market but there are no social applications, like twitter
Actually i want to install twitter client that has been recently announced by android
I followed to your step and finally got the GoogleServicesFramework.apk. At first my market application didn't show up but later on trying it again it was in my emulator. This worked perfectly with windows XP.
ReplyDeleteGot problem with connection to google...
ReplyDeleteWhen I run the emulator, it seems that the whole image was reset. I am not able to see the market, sdksetup was still there. the build.prop was reset to original file. before closing the emulator, i have checked that build.prop was proper, sdksetup was removed. but still no luck. any ideas?
ReplyDelete