問題描述
我在 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模擬器的速度?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!