Android 虚拟设备不工作

发布于 2024-12-19 16:13:20 字数 310 浏览 2 评论 0原文

我读过很多关于 Android 虚拟设备 (AVD) 加载时间较长的投诉和问题,但人们经常谈论的只是几秒钟的延迟。

就我而言,加载大约需要 15 分钟(!),即使这样,它也会冻结或反应非常缓慢。我已经卸载并重新安装过一次,但没有任何变化。

我也有 Eclipse 的问题,但我将为此发布一个单独的问题。

我在一台稍旧的 PC 上运行它,配备 Intel Core Duo CPU、2 GB RAM、充足的硬盘空间、Windows XP SP3。

您认为问题出在 RAM 太少吗?是否有日志文件可以帮助我了解出了什么问题?

谢谢

I have read a lot of complaints and problems about Android Virtual Device (AVD) taking a lot of time to load, but people were often talking about just few seconds delays.

In my case, it takes about 15 minutes(!) to load, and even then it also freezes or reacts very slowly. I have already un- and reinstalled once, but nothing changed.

I also have problems with Eclipse, but I am going to post a separate question for it.

I am running it on a slightly old PC, with Intel Core Duo CPU, 2 GB RAM, plenty of HD space, Windows XP SP3.

Do you think the problem is in having too little RAM? Is there a log file somewhere that can help me in understanding what is going wrong?

Thanks

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

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

发布评论

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

评论(1

抱着落日 2024-12-26 16:13:20

2GB RAM 不算多,但你应该能够用它运行模拟器。在启动模拟器之前尝试关闭尽可能多的其他程序。

根据我的经验,AVD 启动时间会随着添加到 AVD 的虚拟硬件数量的增加而增加,因此请保持简单。我还注意到,与 2.x 版本相比,Android 3.0 或更高版本的 AVD 在模拟器中可能相当缓慢。但是,如果您增加“设备 ram 大小”和/或“最大 VM 应用程序堆大小”硬件属性,它们的性能可能会提高(另请参阅这篇文章
我在这篇文章中找到了一些其他提示,但我自己没有尝试过。

如果您已启动并运行 Eclipse,则可以在 AVD 启动时检查 logcat。

2GB RAM is not much, but you should be able to run the emulator with it. Try to close as much other programs as possible before starting the emulator.

It is my experience that the AVD startup time increases with the amount of virtual hardware you add to the AVD, so keep this simple. Also I noticed that Android 3.0 or higher AVDs can be rather sluggish in the emulator compared to the 2.x versions. However, their performance might improve if you increase the "Device ram size" and/or "Max VM application heap size" hardware properties (see also this post)
I found some other tips in this post but I didn't try them myself.

If you have Eclipse up and running you can check the logcat while the AVD is starting.

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