How to speed up Android Emulation?(如何加速 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 仿真?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何加速 Android 仿真?
基础教程推荐
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
