如何加速 Android 仿真?

How to speed up Android Emulation?(如何加速 Android 仿真?)
本文介绍了如何加速 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 仿真?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)