简体   繁体   English

AVD在Android 4.0上非常慢

[英]AVD very slow on Android 4.0

I'm trying to start AVD with Android 4.0 on WXGA mode (720 or 800) [for Tablets] but its very slow First it was crashing when i started the device Then i un-installed the AVD and SDK and reinstalled it and now it takes a lot of time to start and very slow on response 我正在尝试以WXGA模式(720或800)(适用于平板电脑)在Android 4.0上启动AVD,但速度非常慢首先启动设备时它崩溃了,然后我卸载了AVD和SDK,然后重新安装了它,现在需要花费很多时间才能开始,而且响应速度很慢

It's working fine for Android 2.x and 3.x but not for 4.0 适用于Android 2.x和3.x,但不适用于4.0

I tried increasing RAM size also but it didn't worked (with snap shot or without snapshot) 我也尝试增加RAM大小,但是没有用(快照或无快照)

The issue is screen size. 问题是屏幕尺寸。 Tablet-sized emulators for Android 3.x or 4.x presently use a LOT of CPU power. 目前,适用于Android 3.x或4.x的平板电脑大小的模拟器使用大量CPU能力。

Some of that is the home screen itself, so replacing the home screen with a simpler implementation can help. 其中一些是主屏幕本身,因此用更简单的实现替换主屏幕会有所帮助。 I use Zeam Launcher for this, in part because you can legally get the APK outside of the Android Market. 我之所以使用Zeam Launcher,部分是因为您可以合法地在Android Market之外获取APK。

Beyond that, you need a development machine with a powerful CPU. 除此之外,您还需要一台具有强大CPU的开发机器。 I switched from a dual-core 2.5GHz machine to a Core i7 2.7GHz machine for that reason. 因此,我从双核2.5GHz机器切换到Core i7 2.7GHz机器。 The reason wasn't the 2.5 -> 2.7 jump, but the fact that the Core i7 supports Turbo Boost. 原因不是2.5-> 2.7跳跃,而是Core i7支持Turbo Boost的事实。 The Android emulator only uses a single CPU core; Android仿真器仅使用单个CPU内核; TurboBoost effectively combines multiple cores to create a faster "Supercore" (cape optional). TurboBoost有效地结合了多个内核,以创建更快的“ Supercore”(Cape可选)。 My Core i7 will TurboBoost to 3.4GHz, and 2.5 -> 3.4GHz, coupled with the simpler home screen and setting Device RAM to 1024 in the AVD, has gotten the emulator to the point where I can deliver training with it. 我的Core i7将TurboBoost提升到3.4GHz,并且2.5-> 3.4GHz,再加上更简单的主屏幕,并在AVD中将Device RAM设置为1024,这使仿真器到了可以进行培训的地步。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM