Android 虚拟设备超慢 - 电脑太慢?

发布于 2024-12-05 06:22:43 字数 242 浏览 0 评论 0原文

如果我想使用 AVD 进行工作/测试,Android 模拟器速度非常慢,几乎无法使用。我正在使用 eclipse 进行开发,只是想测试一个 helloWorld 应用程序,但是整个过程运行得太慢了。是我电脑的硬件问题吗? 细节:

AMD Athlon 64 3500+, 2.21 Ghz
2 GB RAM
Windows XP

我知道它有点像用煤运行,但实际上,它只是一个手机模拟器。你的意见是什么?

if I wanna work/test with my AVD, the Android emulator is super slow, barely usable. Im developing with eclipse and was just about testing a helloWorld app., but the whole thing runs too slow. Is it the hardware of my pc?
details:

AMD Athlon 64 3500+, 2.21 Ghz
2 GB RAM
Windows XP

I know its kinda running with coal, but actually, its just a phone emulator. What is your opinion?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

≈。彩虹 2024-12-12 06:22:44

就像 cjk 所说,模拟器非常慢。它完全模拟核心ARM架构,并且只能是单线程的。您可以做的最好的事情就是将其分配给较少使用的核心并提高进程的优先级/良好度。

Like cjk says, the emulator is incredibly slow. It fully emulates the core ARM architecture and can only be single threaded. Best you can do to help it is assign it to a lesser used core and increase the priority/niceness of the process.

甜味拾荒者 2024-12-12 06:22:44

我在开发时的计算机上有相同类型的规格,实际上模拟器运行速度太慢。您的屏幕分辨率是多少?就我而言,连接到显示器加快了模拟器的速度,真的很蹩脚。

I had the same type of specs on my computer while developing, indeed the emulator is too slow to work with. What is your screen resolution? In my case connecting to a monitor sped up the emulator, really lame..

如梦初醒的夏天 2024-12-12 06:22:44

我的 LCD 当前屏幕分辨率是 1600 * 900,我使用的是 Windows 7。它工作正常。

My LCD's current screen resolution is 1600 * 900 and I am using Windows 7. Its working fine.

桃扇骨 2024-12-12 06:22:44

我有一台MacBook Air(不是很强大),模拟器太慢了。这是因为仿真选项中的使用主机GPU被勾选了。这也可能有帮助。适合:

设备:3.2" QVGA
目标:8级
内存条:512
堆:128
仿真选项:未勾选。

希望有帮助

I have a macbook air (not very powerfull), the emulator was too slow. It was because the in the Emulation Options Use Host GPU was ticked. This might also help. its fine with:

Device: 3.2" QVGA
target: level 8
Memory Ram: 512
Heap: 128
Emulation options: not ticked.

hope it helps

想你只要分分秒秒 2024-12-12 06:22:43

我也有同样的问题。模拟器慢得要命。您可以通过更改 AVD 管理器中分配给它的堆大小来显着加快速度。转到 AVD 管理器 ->选择您的设备->单击“详细信息”按钮。堆大小很可能是 24 或 48 (vm.heapSize: 24)。以下是增加堆大小的方法。

AVD 管理器 ->选择设备->编辑->硬件部分(同一窗口)->选择“Max VM application heapsize”属性->双击并将值编辑为 512 或更高。

重新启动模拟器(如果已在运行)。

I had the same problem. The emulator was slow as hell. You can significantly speed it up by changing the heap size allocated to it in AVD manager. Go to AVD Manager -> Select your device -> Click on "Details" button. The heap size will most probably be 24 or 48 (vm.heapSize: 24). Here's how you increase the heap size.

AVD Manager -> Select device -> Edit -> Hardware section (same window) -> Select "Max VM application heapsize" property -> Double click and edit the value to 512 or higher.

Restart the emulator (if already running).

梦境 2024-12-12 06:22:43

它只是一个非常慢的模拟器。最好的选择肯定是在真机上进行测试。

It is just a very slow emulator. The best option is definately to test on a real phone.

箹锭⒈辈孓 2024-12-12 06:22:43

我使用的是 Intel Core2 Quad @ 2.33HZ、2.33Hz 和 3GB RAM。更改后上传应用程序大约需要 20 秒。您必须升级您的电脑才能在模拟器上测试您的应用程序。如果您有 Android 设备,那就太好了。你的电脑会正常工作。

I am using Intel Core2 Quad @ 2.33HZ, 2.33Hz with 3GB of RAM. It take about 20 seconds to upload the app after making changes. You must upgrade your PC in order to test your apps on emulator. If you have android device, then good. Your PC will work fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文