Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing a x86 image in new sdk tools v12

I've upgraded to android sdk tools 12. As a release note google 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,

like image 857
Bogdan M. Avatar asked Jul 07 '11 06:07

Bogdan M.


1 Answers

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...

like image 87
ZoltanF Avatar answered Sep 27 '22 18:09

ZoltanF