为什么安卓模拟器这么慢?我们如何加快Android模拟器的速度?

Why is the Android emulator so slow? How can we speed up the Android emulator?(为什么安卓模拟器这么慢?我们如何加快Android模拟器的速度?)

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

问题描述

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

我的理解是 Android 模拟器 应该在这样的机器上相当快地启动,但对我来说,它没有.我已按照设置 IDE、SDK、JDK 等的所有说明进行操作,并且在快速启动模拟器方面取得了一些成功,但这种情况非常罕见.如果可能的话,我该如何解决这个问题?

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

我还增加了 Device RAM Size1024,这会产生一个非常快的模拟器.

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

<块引用>

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

<块引用>

从快照启动模拟器.

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

使用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模拟器的速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:为什么安卓模拟器这么慢?我们如何加快Android模拟器的速度?

基础教程推荐