11
回答
android模拟器启动慢的处理技巧
华为云实践训练营,热门技术免费实践!>>>   

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

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

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

举报
华宰
发帖于6年前 11回/27K+阅
共有11个评论 最后回答: 4年前

这...

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

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

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

引用来自“mallon”的答案

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

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

看错了,启动慢没法调

我的怎么快半小时了也没动静  什么意思啊?没有搞对?还是?还有请教真机怎么测试啊?小弟刚入门中;(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.)

请指教!谢谢!

引用来自“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

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

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

顶部