android模拟器启动慢的处理技巧

华宰 发布于 2011/09/08 14:11
阅读 28K+
收藏 0

Android 的模拟器启动一次超级的慢,刚开始不知道,每次改程序后,重启android模拟器。觉得这样的开发效率到底有什么人能接受呢?

后来才知道,其实不必关闭模拟器,只需在eclipse里再次run这个应用程序,就会自动重新安装。

因为android模拟器启动一次比较慢,这样无需重启模拟器还是很方便的。而且连正在模拟器中调试的程序也不用退出,模拟器会在重新安装应用程序前自动退出该程序。

加载中
0
xinzaibing
xinzaibing

这...

貌似Android SDK官网就说明这个问题了...

还有就是你可以用X86的android调试,如果你不用到定位 WIFI 蓝牙的话

如果你有真机...连上ECLIPSE调试,那个爽啊...比什么都快

0
ddatsh
ddatsh

4X核 2.8G CPU ,8G内存同样也不快

调试直接用真机了。。。

0
mallon
mallon

“声音和显示中”把“方向”关掉可以明显提高速度

话说回来Android就是一砣屎,鄙视Google

0
mallon
mallon

引用来自“mallon”的答案

“声音和显示中”把“方向”关掉可以明显提高速度

话说回来Android就是一砣屎,鄙视Google

看错了,启动慢没法调
0
S
SPICA
启动的却是比较慢,4.0的差不多要3min左右吧……
0
log4j_zsj
log4j_zsj

我的怎么快半小时了也没动静  什么意思啊?没有搞对?还是?还有请教真机怎么测试啊?小弟刚入门中;(PS:运行的时候报异常:[2013-01-04 15:01:58 - Emulator] emulator: WARNING: Requested RAM size of 1024MB is too large for your environment, and is reduced to 576MB.
[2013-01-04 15:01:58 - Emulator] emulator: Failed to open the HAX device!
[2013-01-04 15:01:58 - Emulator]
[2013-01-04 15:01:58 - Emulator] emulator: Open HAX device failed
[2013-01-04 15:01:58 - Emulator]
[2013-01-04 15:01:58 - Emulator] HAX is not working and emulator runs in emulation mode
[2013-01-04 15:01:58 - Emulator] Failed to allocate memory: 8
[2013-01-04 15:01:58 - Emulator]
[2013-01-04 15:01:58 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2013-01-04 15:01:58 - Emulator] Please contact the application's support team for more information.)

请指教!谢谢!

0
excepiton
excepiton

引用来自“log4j_zsj”的答案

我的怎么快半小时了也没动静  什么意思啊?没有搞对?还是?还有请教真机怎么测试啊?小弟刚入门中;(PS:运行的时候报异常:[2013-01-04 15:01:58 - Emulator] emulator: WARNING: Requested RAM size of 1024MB is too large for your environment, and is reduced to 576MB.
[2013-01-04 15:01:58 - Emulator] emulator: Failed to open the HAX device!
[2013-01-04 15:01:58 - Emulator]
[2013-01-04 15:01:58 - Emulator] emulator: Open HAX device failed
[2013-01-04 15:01:58 - Emulator]
[2013-01-04 15:01:58 - Emulator] HAX is not working and emulator runs in emulation mode
[2013-01-04 15:01:58 - Emulator] Failed to allocate memory: 8
[2013-01-04 15:01:58 - Emulator]
[2013-01-04 15:01:58 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2013-01-04 15:01:58 - Emulator] Please contact the application's support team for more information.)

请指教!谢谢!

 WARNING: Requested RAM size of 1024MB is too large for your environment, and is reduced to 576MB.


机器内存不足吧1G的内存申请不到,只有576MB

0
枫..
枫..

emulator: Failed to open the HAX device!
HAX is not working and emulator runs in emulation mode
emulator: Open HAX device failed
creating window 0 0 320 480

是官网最新的,我的就出现这个还有后面几个

0
枫..
枫..
emulator: ERROR: Unable to load VM from snapshot. The snapshot has been saved for a different hardware configuration.
0
枫..
枫..

这些都是什么原因啊?要怎么改动呢?

返回顶部
顶部