Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVD starts every time I run an Android project

Every time I run my Android project from Eclipse, it starts a new Android Virtual Device to run it in. How can I make it run in an existing AVD?

like image 552
WoooHaaaa Avatar asked Nov 16 '11 03:11

WoooHaaaa


People also ask

How do I turn off Android Emulator?

Run and stop an emulator, and clear data To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data. Or click Menu and select Wipe Data.

Why do you need an AVD in running your application?

Each AVD is an emulator configuration that simulates a physical Android device. This makes it possible to run and test your app in a variety of configurations that simulate different physical Android devices.

How do I fix an error opening emulator?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.


2 Answers

Edit your Run or Debug configuration (Run => Run Configurations ) and set Target mode manual.

like image 130
KV Prajapati Avatar answered Sep 28 '22 09:09

KV Prajapati


create a new AVD manually and also Run your Android Project with following steps:

  1. Right Click on your Project
  2. Click on Run As
  3. Click on Run Configuration
  4. click on Target and select Manual.

Select the AVD you just created and click Apply.

With this, your application will always ask you before running.

like image 39
Shaireen Avatar answered Sep 28 '22 08:09

Shaireen