Create Android Virtual Device from command line

This post will be described how to create AVD from command line, and need some requirements configurations: (find in previous posts)

  1. Installed Android sdk
  2. Install Java jdk
  3. Setup JAVA_HOME and added to PATH
  4. Setup ANDROID_HOME and added to PATH



Step1: List out all android target:

open command line tool and type command

android list target


Step 2: select a android target version to create new emulator and type command below:

android create avd -n <AVD_NAME -t <android_version>

ex: android created -n AVD1 -t android 5

Step3: Check created AVD

Type command below

android list avd


Step4: Start android emulator

Type command:

cd %ANDROID_HOME%\tools

emulator @AVD


So for future, you need create batch file to create and start android emulator as you need.!!


Hope this help 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.