如何加速 Android 仿真? [英] How to speed up Android Emulation?

查看:27
本文介绍了如何加速 Android 仿真?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开始 Android 开发.

I'm trying to get started with Android development.

我在 Linux 上使用 eclipse 并使用 Pentium IV @3.2Gh 和 1GB 内存.我刚刚遵循hello android"howto,只有一个可悲的结果:虚拟化太慢了.

I'm using eclipse on Linux and using a Pentium IV @3.2Gh with 1GB of ram. I've just followed the "hello android" howto, with just one sad result: the virtualization is too slow.

看来启动虚拟机不得不很慢,即使我用更好的电脑也会很慢.

It seems that launching the virtual machine has to be slow, and it will be slow even if I'll use a better computer.

慢是指看到hello android"需要将近 10 分钟,如果我将其更改为hello world"则需要另外 10 分钟...

With slow I mean it takes almost 10 minutes to see "hello android" and if I change it to "hello world" it takes an other 10 minutes...

我该如何解决?是否可以在 当前和正在运行的虚拟机中让 eclipse 再次加载我的应用程序而不打开一个新的?

How can I solve it? Is it possible to make eclipse load again my app in the current and running virtual machine without opening a new one?

推荐答案

只要你有一个兼容的 AVD 运行,它不应该尝试创建一个新的模拟器实例.当您想将您的应用程序重新部署到模拟器时,请从调试"透视图中终止现有应用程序,然后单击菜单栏上的调试"按钮.它应该在现有实例中安装并启动应用程序.

As long as you have a compatible AVD running, it shouldn't try to create a new emulator instance. When you want to re-deploy your app to the emulator, kill the existing one from the Debug perspective, and hit the debug button on the menu bar. It should install and launch the app in the existing instance.

这篇关于如何加速 Android 仿真?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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