Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator: select AVD (Android Virtual Device) to run by default

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.

like image 276
znq Avatar asked Oct 08 '09 08:10

znq


People also ask

What is Android virtual device AVD?

The Android emulator is an Android Virtual Device (AVD), which represents a specific Android device. We can use the Android emulator as a target device to execute and test our Android application on our PC. The Android emulator provides almost all the functionality of a real device.


1 Answers

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.

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.

like image 151
Intrications Avatar answered Oct 02 '22 23:10

Intrications