使默认的Android模拟器更快 [英] Make the default android emulator faster

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

问题描述

默认的android模拟器非常慢,资源很耗时,这使得它成为一种不切实际的解决方案。

The default android emulator is ridiculously slow and resource hungry, which makes it an impractical solution.

如何加速默认模拟器?

推荐答案

Android模拟器慢?
我有两个解决方案..

Android Emulator Slow? I got two solutions for you..


  • 优化和升级你的系统

  • 查找垃圾PC,安装Android x86

优化和升级您的系统:


  • 为您的系统和操作系统安装最新的驱动程序和更新

  • 安装最新的Java,Eclipse和ADT构建

  • 清理您的垃圾/临时文件系统(通常在Windows根驱动器中)。使用像Ccleaner这样的工具

  • 确保你至少有2GB的RAM,1GB的模拟器。在创建模拟器时更改设置,禁用不使用的硬件,如GPS,陀螺仪等。

  • 增加设备RAM大小和缓存分区大小

  • 为模拟器准备充足的时间

  • Install latest Drivers and Updates for your System and OS
  • Install latest Builds of Java, Eclipse and ADT
  • Cleanup Your system for Junk/Temp Files (Usually in Windows root drive). Use tools like Ccleaner
  • Ensure you atleast have 2GB of RAM, 1GB for the Emulator alone. Change the settings while creating an emulator, Disable hardware that you don't use like GPS, Gyroscope or whatever.
  • Increase the Device RAM Size and Cache Partion Size
  • Give ample ammount of time for the Emulator to be ready

tools.android.com/recent/emulatorsnapshots尝试模拟器快照,它工作正常。

tools.android.com/recent/emulatorsnapshots try Emulator Snapshots, it works fine as well.

10-50%提升业绩。

10-50% Boost of performance.

查找垃圾PC,安装Android x86

如果你有或者买不起旧电脑,比如Pentium 4 1GHz或者更多给这一点。

If you have or can afford an old PC, something like Pentium 4 1GHz or more give this a shot.

打开CPU盒,


  • 拉出不必要的硬件,如调制解调器和附加卡

  • 清理一下......删除灰尘和所有..

  • 禁用不需要的BIOS中的软盘,PCI,AGP等外围设备。

  • 在BIOS中设置以便从CD启动

  • Pull out unnecessary hardware like modems and add-in cards
  • Clean it up a little bit.. Remove the Dust and all..
  • Disable unwanted peripherals like Floppy, PCI, AGP,....etc in the BIOS.
  • Setup in BIOS so as to boot from CD

SATA或PATA Work Wel l。

Both SATA or PATA Work Well.



  1. 获取最新的稳定通用构建
    android-x86.googlecode.com
    这是最新的稳定(发布时间为
    )ISO为2.2,
    http://android-x86.googlecode.com/files/android-x86-2.2-generic.iso

下载此ISO并将其刻录到
CD。请务必下载Generic
iso版本。这个版本适用于大多数
的个人电脑。

Download this ISO and Burn it to a CD. Be sure to download the Generic iso build. This build works for most of the PCs.




      + Unknown Sources - Selected
      + USB Debugging - Selected
      + Stay awake - Selected
      + Allow mock locations - Selected





  1. 获取USB转USB A型公头电缆,用于连接不同PC的两个USB端口。这样的事情,




Amazon.com usb cable




  1. 将电缆连接到开发者机器,

  2. 安装必要的驱动程序,您应该从SDK更新点安装Google USB驱动程序包到C:\ android \ google-usb_driver。将安装新的硬件名称Android Phone。

现在在终端或命令提示符下键入以下内容,
adb devices

Now type the following in terminal or command-prompt, adb devices

现在您可以看到您的设备已连接到adb。现在,当您在此设备中运行/测试/调试应用程序时。

Now you can see your device connected to the adb. Now when you run/test/debug your application in this device.

您也可以执行此Virtualbox,但我不确定如何将其连接到adb。不过请看我的博客文章abt将其安装到virtualbox

You can also do this Virtualbox but I'm not sure about how to connect it to the adb. However look at my blog post abt installing it to virtualbox

我的实验设置&结果:


启动时间13秒(2011年8月31日 - 2.3。 5在PC上测试,启动时间不到8秒......惊人的......)

安装到设备中的时间几乎可以忽略不计

Boot-up-Time 13 Secs (Aug 31, 2011 - 2.3.5 Tested on PC, Boot up time is just under 8 Seconds.. Amazing...)
Time for installing an app into device Almost negligible

PC规格用于测试:


奔腾4 @ 2.90GHz带HT。
915G
芯片组
2GB RAM
USB键盘& USB
鼠标
所有串行,PS2,并行端口
被禁用。

Pentium 4 @ 2.90GHz With HT.
915G Chipset
2GB RAM
USB Keyboard & USB Mouse
All Serial, PS2, Parallel ports were disabled.

对于照片和更多请看一下sree.cc上我的博客文章----

For Photos and more please take a look at my Blog post at sree.cc ----


http://www.sree.cc/google/installing-android-in-pc-virtualbox



100%提升业绩。


100% Boost of performance.

http://code.google.com/p/android -x86 / downloads / list
Android 4.0已经发布。 Chk out。

这篇关于使默认的Android模拟器更快的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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