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

查看:519
本文介绍了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的Android版本低于清单中设置的最低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天全站免登陆