Android模拟器:选择AVD(Android虚拟设备),在默认情况下运行 [英] Android Emulator: select AVD (Android Virtual Device) to run by default

查看:557
本文介绍了Android模拟器:选择AVD(Android虚拟设备),在默认情况下运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加第二个虚拟设备来测试不同的屏幕分辨率(QVGA),但是现在我想切换回第一个AVD(HVGA)了。如何设置Eclipse中的虚拟设备要使用的默认情况下,甚至专门为我的项目?在属性我只能设置API级别。

I have added a second Virtual Device to test a different screen resolution (QVGA), but now I wanna switch back to the first AVD (HVGA) again. How can I set the virtual device in Eclipse to be used by default or even specifically for my project? In the properties I can only set the API level.

我也找不到命令行工具文档中的任何信息来设置此手动。

I also couldn't find any information in the command line tool documentation to set this manually.

推荐答案

在Eclipse中,工具栏,然后运行配置中点击运行。选择您的应用程序,并单击目标标签。然后,您可以选择AVD使用或将其设置为手动哪那么它要求你每次运行的应用程序的时间。

In Eclipse, click on Run in the toolbar then Run Configurations. Select your application and click on the Target tag. You can then select which AVD to use or set it to manual so it asks you each time you run the app.

请注意,如果AVD的Andr​​oid版本比最低API级别在清单中设置低,AVD将不会出现在列表中。

Note that if the AVD's Android version is lower than the Minimum API level set in the Manifest, the AVD will not appear in the list.

这篇关于Android模拟器:选择AVD(Android虚拟设备),在默认情况下运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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