开发者

Installing a x86 image in new sdk tools v12

I've upgraded to android sdk tools 12. As a release note googl开发者_运维百科e says: The AVD manager and emulator can now use system images compiled for ARM v7 and x86 CPUs.

Has anyone tried to run a x86 image? Are there any 3.0+ images?

Thanks,


In the GUI of the SDK for emulator configuration, the CPU type drop down box is disabled. Probably this is something they are preparing for the release 13 of the Android SDK tools. (it is also possible that non of my installed platform revision have x86 images)

I tried to run one of my emulator images as x86 explicitly, and get this:

C:\Program Files\Android-SDK\tools>emulator-x86.exe -avd HTC_Magic
qemu: linux kernel too old to load a ram disk C:\Program Files\Android-SDK/platf
orms\android-4\images\/kernel-qemu, C:\Program Files\Android-SDK/add-ons\addon_g
oogle_apis_google_inc_4\images\/ramdisk.img, qemu=1 console=ttyS0 android.qemud=
ttyS1 androidboot.hardware=goldfish clocksource=pit android.checkjni=1 ndns=2

I think the emulator image needs to be created explicitly for x86... Would be nice to have an x86 image so the performance of underlining qemu goes up, as it will not need to emulate ARM CPU instruction set...


You can already run http://www.android-x86.org/ and connect to it with adb over tcpip right now. You do not need the SDK support for it. And it is very fast.

Otherwise if you install the Google TV add on on linux you can create a Google TV avd and that will use x86. It really works nicely only on Linux though since that is where it is tunneled to the hypervisor properly.

There are various blog post around on how to set that up properly e.g. http://commonsware.com/blog/2011/09/01/google-tv-emulator-seemingly-pointless.html


You should install Intel® Atom™ Android x86 Emulator Image.

You could find detailed instructions at this link


You can build your own android x86 emulator from the AOSP. Here are the instructions from the Intel website:

http://software.intel.com/en-us/articles/android-ia-emulator-gingerbread/


http://software.intel.com/en-us/articles/android-virtual-device-emulation-for-ia/

updated article provides info about using 3.2 images, perhaps my sdk does not offer such choice (tested 2.3.3, 3.2 and 4.0.3)

more likely the article refers to an intel based sdk build, that is not the one provided by android developer site.

They may add intel images (yet it's true the emulator needs x86 based images) later and support also intel abi


After a few months passed, the source code for the android 4.0 was released and I find that the x86 virtual machines are faster than any solution I tried which used the Android Emulator.

You can find instructions on using android x86 images here: http://www.android-x86.org/


I followed the instructions here and was able to build a working x86 image. It runs great, much faster than ARM emulation, provided kvm is enabled, which you can by doing "sudo apt-get install kvm" on Ubuntu machines. To check if kvm is already on your machine, do an lsmod | grep kvm.

To answer the other question, Google hasn't released any images with it's SDK yet and this is the thread where someone from Google responded to my question about it.

They plan to release Gingerbread images pretty soon. Which is why there is no drop down option saying "Intel" or x86 in the CPU box of the Android tool (yet).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜