Android模拟器:选择AVD(Android虚拟设备),在默认情况下运行模拟器、情况下、设备、Android

2023-09-05 05:47:14 作者:乄゛遗忘丶过去的痛

我添加第二个虚拟设备来测试不同的屏幕分辨率(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.