如何从 Eclipse 自动运行 Android 模拟器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/506777/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I run an Android emulator automatically from Eclipse?
提问by VonC
I need to know how to run an Android emulator automatically from Eclipse.
我需要知道如何从 Eclipse 自动运行 Android 模拟器。
Any ideas?
有任何想法吗?
回答by VonC
Once you have installed ADT, you need to define an ADT launch configuration, in order for your project to execute itself as an Android executable.
安装ADT 后,您需要定义ADT 启动配置,以便您的项目作为 Android 可执行文件自行执行。
Then, do not forget to To go in Eclipse->Preferences->Run/Debug->Launching
.
In the “Launch Operation
” subsection, select “Always launch the previously launched application
”:
然后,别忘了进去Eclipse->Preferences->Run/Debug->Launching
。
在“ Launch Operation
”小节中,选择“ Always launch the previously launched application
”:
回答by Iamat8
There are two ways for that..
有两种方法。。
Launch AVDfrom Menu bar
Steps :
Launch AVDfrom Run Configuration
Steps :