Android模拟器,laggy在Mac模拟器、Android、Mac、laggy

2023-09-05 06:03:06 作者:蓦然流年暗度

首先,是的,我知道有很多话题与此类似问题,我没有使用搜索功能上栈溢出。

First of all, yes I know there's a lot of topics similar to this issue, I did use the search function on stack overflow.

但大多数都提出了这个问题似乎约漫长的启动时间。

But most of the issue that were brought up seems to about long boot times.

对于我来说,仿真器这么慢,只是从一个主屏幕滑动到另一是像看幻灯片。我把更多的RAM到虚拟设备,但没有什么变化。

For me, the emulator is so slow, simply sliding from one home screen to another is like watching a slideshow. I placed in more 'RAM' into the virtual device but nothing changes.

我该如何解决这个问题?

How do I fix this?

我使用的MacBook Pro 2010在Mac OS X狮子。

I'm using a Macbook Pro 2010 on Mac OS X Lion.

推荐答案

在Android SDK的最新版本有x86和本机执行支持。现在就可以运行仿真器在Mac上的原生速度,但有一些工作要做手。

On the latest version of the Android SDK there is support for x86 and native execution. Now it is possible to run the emulator at native speeds on a Mac but there is some work to do by hand.

首先,你需要最新的SDK工具rev.19 +和平台工具rev.11 +,Android的x86的凌动系统映像的4.0.3到4.4和英特尔硬件加速执行管理器(HAX)这一切都从Android SDK经理。

First you need the latest SDK Tools rev.19+ and Platform tools rev.11+, the Android x86 Atom System Image for 4.0.3 to 4.4 and the Intel Hardware Accelerated Execution Manager (HAX) all this from the Android SDK Manager.

在此,你需要安装HAX,可惜的是SDK管理器下载一个过时的版本。还有就是英特尔HAXM修补程序v1.0.8

After this you need to install HAX, unfortunately the SDK Manager downloads an outdated version. There is the Intel-HAXM hotfix v1.0.8

当你创建一个新的AVD使用这个最新的系统映像,使能在GPU的支持(目前的快照支持不带GPU兼容,但它仍然一点,实在值得它的虚拟机将启动,在短短几秒钟无论如何。

When you create a new AVD to use this latest system image and enable the GPU support on it (at the moment the snapshot support are not compatible with GPU but it still worths it. The VM will boot up in just a few seconds anyway.

这大大加快了在Android的发展,它仅仅是一个耻辱,它不工作这样的开箱即用的。

It considerably accelerates the development on Android, it is just a shame that it doesn't works like this out of the box.