How to create avd with google api for Intel x86 image?

I use android-API 15 to develop an application, the Android that I use is the Intel x86 atom.

I can create an AVD image for the Android emulator using the standard API-15, but not with the Google API, because the avd manager does not show any parameters for the x86 atom image. It works only for the hand, but the hand effect of the image is very slow on my Intel machine,

Any ideas on how to customize the x86 atom image using the Google -15 API? not a simple APi-15

thanks

+3
android android-emulator
source share
4 answers

I understood,

You must complete the following steps,

  • run the android image in the emulator,
  • pull 2 ​​google map files from / system / framework and / system / etc / permissions /
  • turn off the emulator
  • run emulator with x86 image (API-10 or 15, which version did you use for pulling)
  • click two files that we pulled earlier in the same place
  • push mkfs.yaffs2.x86 can be downloaded from http://code.google.com/p/android-group- - korea / downloads / detail? name = mkfs.yaffs2.x86
  • adb push mkfs.yaffs2.x86 / data li>
  • adb shell
  • cd / data li>
  • chmod 777 mkfs.yaffs2.x86
  • ./mkfs.yaffs2.x86/system.img
  • Exit
  • disable emulator
  • replace the new system.img with the existing system.img
  • run the emulator with x86 image and now it should support google apis
+2
source share

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

+1
source share

Now you can upload the image directly using the SDK manager. It is available for API> = 19

+1
source share

The answer from @Ahmed is good, but there is a way to do it with smaller steps and without using mkyaffs2 and draw an image (which takes forever). All the methods that I saw, like this one, rely on creating this system image from an Android guest system, which is very slow and difficult to automate. My method is QEMU tricks to save changes in / system to a disk image, rather than discarding them.

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

0
source share

All Articles