在新的sdk工具v12中安装x86映像

Bog*_* M. 13 android qemu android-virtual-device android-emulator android-sdk-tools

我已经升级到android sdk工具12.作为发布说明谷歌说:AVD管理器和模拟器现在可以使用为ARM v7和x86 CPU编译的系统映像.

有没有人试图运行x86图像?有没有3.0+图像?

谢谢,

Zol*_*anF 6

在用于仿真器配置的SDK的GUI中,禁用CPU类型下拉框.可能这是他们正在为Android SDK工具的第13版做准备.(我的已安装平台版本中的非版本也可能包含x86图像)

我尝试将我的一个模拟器图像显式地运行为x86,并得到:

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
Run Code Online (Sandbox Code Playgroud)

我认为需要为x86显式创建模拟器映像...拥有x86映像会很好,因此强调qemu的性能会上升,因为它不需要模拟ARM CPU指令集...


Man*_*ser 5

您现在可以运行http://www.android-x86.org/并使用adb over tcpip连接到它.您不需要SDK支持.它非常快.

否则,如果您在Linux上安装Google TV添加,则可以创建一个使用x86的Google TV avd.它确实只能在Linux上运行良好,因为它可以正确地通过隧道连接到管理程序.

有关如何正确设置的各种博客文章,例如http://commonsware.com/blog/2011/09/01/google-tv-emulator-seemingly-pointless.html


Bog*_* M. 0

几个月后,android 4.0 的源代码发布了,我发现 x86 虚拟机比我尝试过的使用 Android 模拟器的任何解决方案都要快。

您可以在此处找到有关使用 android x86 映像的说明:http://www.android-x86.org/