Why is the Android emulator so slow? How can we speed up the Android emulator?(为什么安卓模拟器这么慢?我们如何加快Android模拟器的速度?)
问题描述
我在 x86 Windows XP 上有一个 2.67 GHz 赛扬处理器和 1.21 GB RAM专业机.
我的理解是 Android 模拟器 应该在这样的机器上相当快地启动,但对我来说,它没有.我已按照设置 IDE、SDK、JDK 等的所有说明进行操作,并且在快速启动模拟器方面取得了一些成功,但这种情况非常罕见.如果可能的话,我该如何解决这个问题?
即使它启动并加载主屏幕,它也非常缓慢.我已经尝试了 (或更高版本)具有允许您保存 AVD(模拟器)状态的功能,您可以立即启动模拟器.您必须在创建新 AVD 时启用此功能,或者您可以稍后通过编辑 AVD 来创建它.
我还增加了 Device RAM Size
到 1024
,这会产生一个非常快的模拟器.
有关更多信息,请参阅下面给出的屏幕截图.
<块引用>使用保存快照功能创建新的 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模拟器的速度?
基础教程推荐
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01