仿真器的响应速度很慢 [英] Emulator response is very slow
问题描述
模拟器android系统很慢,有时它不响应为好。请问模拟器表现都非常依赖于系统配置?
Emulator in android is very slow and at times it is not responding as well. Does emulator performace is dependent on system configurations?
是否有任何其他的方式来查看模拟器相比其他Android应用程序的输出?请请建议我,仿真器是在浪费我的大部分时间。
Is there any other way to view the android app output other than emulator? Kindly please suggest me as emulator is wasting most of my time.
推荐答案
这是不是与你的环境出了问题,它只是一个模拟器是很慢的。
It is not a problem with your environment, it is just that the emulator is very slow.
实际上我用一个真正的手机做我的测试。这是更快,测试更逼真。但是,如果你想在很多不同的Android版本的测试应用程序,并且不想买几款手机,你将不得不使用仿真不时。
Practically I use a real phone to do my tests. It is faster and tests are more realistic. But if you want to test your application on a lot of different Android versions and don't want to buy several phones, you will have to use the emulator from time to time.
Android的SDK现在alows使用基于x86的Android模拟器。请参见 http://developer.android.com/tools/devices/emulator。 HTML#加速-VM
The Android SDK now alows to use an x86-based Android emulator. See http://developer.android.com/tools/devices/emulator.html#accel-vm
尝试的Android x86的。它比谷歌Android模拟器快得多。请按照下列步骤:
Try Android x86. It's much faster than the Google Android emulator. Follow these steps:
下载,你需要ISO文件。
创建虚拟机的Linux 2.6 /于Linux,512 MB RAM,HD 2
GB。网络:的PCnet-III快,连接到NAT。您也可以使用
桥接适配器,但你需要一个DHCP服务器在您的环境。
Create a virtual machine as Linux 2.6/Other Linux, 512 Mb RAM, HD 2 GB. Network: PCnet-Fast III, attached to NAT. You can also use a bridged adapter, but you need a DHCP server in your environment.
在模拟器上安装Android X86,运行它。
Install Android x86 on the emulator, run it.
preSS Alt + F1,键入netcfg中,记的IP地址,preSS Alt + F7。
Press Alt+F1, type netcfg, remember the IP address, press Alt+F7.
Windows XP系统上运行CMD,将目录更改为您
Android的tools目录,键入 ADB连接< virtual_machine_IP方式>
Run cmd on your Windows XP system, change the directory to your
Android tools directory, type adb connect <virtual_machine_IP>
.
启动Eclipse,打开ADT插件,找到该设备,并享受!
Start Eclipse, open the ADT plugin, find the device, and enjoy!
这篇关于仿真器的响应速度很慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!