Mac上的Android模拟器滞后

Android emulator laggy on Mac(Mac上的Android模拟器滞后)

本文介绍了Mac上的Android模拟器滞后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,是的,我知道有很多类似的话题,我确实使用了堆栈溢出的搜索功能.

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?

我在 Mac OS X Lion 上使用 Macbook Pro 2010.

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+、适用于 4.0.3 至 4.4 的 Android x86 Atom 系统映像和英特尔硬件加速执行管理器 (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 Manager 下载了一个过时的版本.有 Intel-HAXM hotfix 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 不兼容,但它仍然值得.VM 将在几秒钟内启动无论如何.

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.

这篇关于Mac上的Android模拟器滞后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Mac上的Android模拟器滞后