Skip to content Skip to sidebar Skip to footer

How To Create Avd With Google Api For Intel X86 Atom Image?

I am using android-API 15 for development of an app, The android image I am using is Intel's x86 atom. I can create AVD image for the android emulator using standard API-15 but n

Solution 1:

I figured it out,

Need to follow these steps,

  • run arm based android image in emulator,
  • pull out 2 google map files from /system/framework and /system/etc/permissions/
  • turn off emulator,
  • start emulator with x86 image (API-10 or 15 whichever version you used to pull from)
  • push the two files we pulled earlier to same place,
  • push mkfs.yaffs2.x86 thiscan be download from http://code.google.com/p/android-group- - korea/downloads/detail?name=mkfs.yaffs2.x86
  • adb push mkfs.yaffs2.x86 /data
  • adb shell
  • cd /data
  • chmod 777 mkfs.yaffs2.x86
  • ./mkfs.yaffs2.x86 /system system.img
  • exit
  • turn off emulator
  • replace new system.img with existing system.img
  • run emulator with x86 image and it should now support google apis

Solution 2:

the answer given by Ahmed is technically correct, but I got a better overview of what I was doing, here: http://codebutler.com/2012/10/10/configuring-a-usable-android-emulator/

Solution 3:

Solution 4:

The reply by @Ahmed is good, but there is a way to do this with less steps and without using mkyaffs2 and pulling the image (which takes forever). All methods I have seen, like this one, rely on creating this system image from within the guest Android system, which is very slow, and hard to automate. My method tricks QEMU to persist the changes to /system into the disk image, instead of throwing them away.

You can see the full method here: http://confcompass-tech.blogspot.nl/2013/07/google-apis-in-x86-android-emulator.html

Post a Comment for "How To Create Avd With Google Api For Intel X86 Atom Image?"