为什么安卓模拟器这么慢?我们如何加速Android模拟器? [英] Why is the Android emulator so slow? How can we speed up the Android emulator?

查看:85
本文介绍了为什么安卓模拟器这么慢?我们如何加速Android模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 x86 Windows XP 上有 2.67 GHz Celeron 处理器和 1.21 GB RAM专业机器.

我的理解是 Android Emulator 在这样的机器上应该能很快启动,但对我来说却不是.我遵循了设置 IDE、SDK、JDK 等的所有说明,并且在快速启动模拟器方面取得了一些成功,但这种情况非常罕见.如果可能,我该如何解决这个问题?

即使启动并加载主屏幕,它也非常缓慢.我已经在 (或更高版本)具有允许您保存 AVD(模拟器)状态的功能,您可以立即启动您的模拟器.您必须在创建新 AVD 时启用此功能,或者您可以稍后通过编辑 AVD 来创建它.

我还增加了 Device RAM Size1024 这导致了一个非常快的模拟器.

有关更多信息,请参阅下面给出的屏幕截图.

<块引用>

使用保存快照功能创建新的 AVD.

<块引用>

从快照启动模拟器.

为了加速你的模拟器,你可以参考加速你的Android 模拟器!:

使用ssd硬盘影响太大,建议使用更合适的ram(8或更高)

I have got a 2.67  GHz Celeron processor, and 1.21  GB of RAM on a x86 Windows XP Professional machine.

My understanding is that the Android Emulator should start fairly quickly on such a machine, but for me, it doesn't. I have followed all the instructions in setting up the IDE, SDKs, JDKs and such and have had some success in starting the emulator quickly, but that is very rare. How can I, if possible, fix this problem?

Even if it starts and loads the home screen, it is very sluggish. I have tried the Eclipse IDE in version 3.5 (Galileo) and 3.4 (Ganymede).

解决方案

Update

You can now enable the Quick Boot option for Android Emulator. That will save emulator state, and it will start the emulator quickly on the next boot.

Click on Emulator edit button, then click Show Advanced Setting. Then enable Quick Boot like below screenshot.

Android Development Tools (ADT) 9.0.0 (or later) has a feature that allows you to save state of the AVD (emulator), and you can start your emulator instantly. You have to enable this feature while creating a new AVD or you can just create it later by editing the AVD.

Also I have increased the Device RAM Size to 1024 which results in a very fast emulator.

Refer to the given below screenshots for more information.

Creating a new AVD with the save snapshot feature.

Launching the emulator from the snapshot.

And for speeding up your emulator you can refer to Speed up your Android Emulator!:

Using ssd hard drive has too much impact and I recommend to use more suitable ram (8 or higher)

这篇关于为什么安卓模拟器这么慢?我们如何加速Android模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆