ThanosFisherman
ThanosFisherman

Reputation: 5859

Launch new emulators without the need of Android Studio

Going through this documentation here there is the following statement:

This tool is no longer supported. Instead use Android Studio to create AVDs and create projects, or use sdkmanager to view and install SDK packages from the command line.

So a question was arised. Is there a way to launch those new emulators (possibly via command line) without having to enter Android Studio and then selecting the AVD Manager menu from there?

Upvotes: 1

Views: 2860

Answers (3)

Vinoth
Vinoth

Reputation: 9764

You can control your Emulator and it's appearance or behavior using below syntax through the command-line.

Here's your emulator ${PATH_OF_YOUR_ANDROID_SDK}/tools/emulator

 emulator -avd <avd_name> [-<option> [<value>]] ... [-<qemu args>]

 emulator -list-avds

Launch the emulator:

emulator -avd yourEmulatorName 

For ex : emulator -avd Nexus_6_API_25

See this link to control the Emulator from the command-line.

Upvotes: 1

Wei
Wei

Reputation: 1036

Blockquote Is there a way to launch the new emulators (possibly via command line) without having to enter Android Studio and then selecting the AVD Manager menu from there?

Yes, you can do it as usual via command line.

For instance,

C:\Development\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_4_API_25

Upvotes: 0

Elias Fazel
Elias Fazel

Reputation: 2123

everything you need is here

emulator -avd <name>

check this

Upvotes: 0

Related Questions