Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
651 views
in Technique[技术] by (71.8m points)

android - 为什么Android模拟器这么慢? 我们如何加快Android模拟器的速度? [关闭](Why is the Android emulator so slow? How can we speed up the Android emulator? [closed])

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

(我在x86 Windows XP Professional计算机上安装了2.67 GHz赛扬处理器和1.21 GB RAM。)

My understanding is that the Android Emulator should start fairly quickly on such a machine, but for me, it does not.

(我的理解是, Android Emulator应该在这样的机器上相当迅速地启动,但对我而言,并不是这样。)

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.

(我已经按照所有说明设置了IDE,SDK,JDK等,并且在快速启动仿真器方面取得了一些成功,但这很少见。)

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).

(我已经尝试了3.5版 (Galileo)和3.4版 (Ganymede)的Eclipse IDE 。)

  ask by community wiki translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Update

(更新资料)

You can now enable the Quick Boot option for Android Emulator.

(现在,您可以为Android模拟器启用“快速启动”选项。)

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.

(然后启用Quick Boot如下图所示。)

快速启动

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.

(Android开发工具(ADT)9.0.0 (或更高版本)具有一项功能,可让您保存AVD(仿真器)的状态,并且可以立即启动仿真器。)

You have to enable this feature while creating a new AVD or you can just create it later by editing the AVD.

(您必须在创建新的AVD时启用此功能,也可以稍后通过编辑AVD来创建它。)

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

(另外,我将Device RAM Size增加到1024 ,这导致了非常快速的仿真器。)

Refer to the given below screenshots for more information.

(有关更多信息,请参考下面给出的屏幕截图。)

Creating a new AVD with the save snapshot feature.

(使用保存快照功能创建新的AVD。)

具有保存快照功能的Android模拟器。

Launching the emulator from the snapshot.

(从快照启动仿真器。)

从快照启动仿真器。

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

(有关加速模拟器的信息,请参阅加速Android模拟器!)

:

(:)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...