为什么Android模拟器慢? [英] Why is the Android emulator slow?

查看:170
本文介绍了为什么Android模拟器慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  

可能重复:
  慢Android模拟器

有谁知道为什么模拟器是慢?其他模拟器像iPhone,科罗娜SDK负荷快速...

想知道为什么谷歌不能在这项工作中,这是一个衰弱的缺点,开发...

现或许已经知道计划改变呢?

解决方案
  

为什么Android模拟器慢?

目前最大的问题是整个渲染过程。这基本上是一个软件OpenGL渲染的ARM仿真器中运行。这就是真正昂贵的事情。试着摆弄有各种屏幕尺寸AVDS。你会看到,(主要)与更大的屏幕的AVDS的方法要慢(如药片是不能使用我的机器上,HVGA几乎像一个真正的设备)。

谷歌实际上是这方面的工作,他们所表现出来的的谷歌IO ADT会议 (分钟42:00以后)今年。

完成此操作之前,你唯一可以做的事情就是增加RAM的(只要你有空闲物理内存的机器上,如果添加超过你能负担得起,你会造成交换,从而减缓东西甚至下降更多)的并启用快照更快的启动。

Possible Duplicate:
slow android emulator

Does anybody know why the emulator is that slow? Other emulators like for iPhone, Corona SDK load fast...

Wondering why Google doesn't work on this, it's an enervating drawback developing...

Are maybe already known plans to change this?

解决方案

Why is the Android emulator slow?

The biggest problem is the whole rendering process. It's basically a software OpenGL renderer running inside an ARM emulator. Thats really expensive to do. Try playing around with AVDs that have various screen sizes. You will see that (mostly) the AVDs with the bigger screens are way slower (e.g. tablets are unusable on my machine, hvga is almost like a real device).

Google is actually working on this, they demonstrated a (very) early hardware-accellerated, OpenGL based solution at the Google IO ADT session (minute 42:00 and onward) this year.

Until this is done, the only thing you can do is increase the RAM (as long as you have free physical RAM on your machine, if you add more than you can afford you will cause swapping, which slows things down even more) and enable snapshots for a faster startup.

这篇关于为什么Android模拟器慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆