问题描述
相较于iPhone和Windows Phone 7当量它需要永远启动 - 这是不现实的期望这将改善随着时间的推移
Compared to the iPhone and Windows Phone 7 equivalents it's takes forever to start up - is it realistic to expect this to improve over time ?
推荐答案
我不会赌我的钱,这将提高显著。这是因为安卓
使用 QEMU
为基础的模拟器的(相对于 IPhone
的模拟的)。
I wouldn't bet my money that it will improve significantly. That is because Android
uses a QEMU
-based emulator (compared to IPhone
's simulator).
由于该 IPhone
模拟,它可以转化指令的本机的处理器code主机上,这是比快在 QEMU
的选择。
Because the IPhone
is simulated, it can translate instructions to native processor code on the host machine, which is way faster than the QEMU
alternative.
与仿真的巨大优点在于运行在将要在物理设备上运行的模拟器SI实际上是code中的code,那么一个可能的一轮错误是可以避免的。
The great advantage with emulation is that the code that is run on the emulator si actually the code that will be running on the physical device, so a possible round of bugs is avoided.
现在,在改善安卓
仿真器的速度,你可以:
Now, on improving the speed of the Android
emulator, you could:
-
打开模拟器,而不是将其关闭每次启动; (RE)在一个开放的仿真器上安装的应用程序几乎是瞬间
open the emulator and not close it for every launch; (re)installing an application in an open emulator is almost instantaneous
使用 - 无 - 启动动画启动仿真器时的命令行开关;这将一定程度上改善了启动时间
use the -no-boot-anim command line switch when starting the emulator; this will improve somewhat the startup time
使用真实的设备来测试您的应用程序
use a real device to test your application with
这篇关于为什么Android手机模拟器这么慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!