How to create a Android Vertual Device using terminal/Command Prompt

Published: 11 March 2018
on channel: SL Coder Ego with Coding (SL Programmer)
6,892
35

SLCoder

------------------------------
AVD : Android Virtual Device
------------------------------

An Android Virtual Device (AVD) is an emulator configuration that lets you model an
actual device by defining hardware and software options to be emulated by the Android Emulator.

https://developer.android.com/studio/...

-----------------
Android Emulator
-----------------


The Android SDK includes a virtual mobile device emulator that runs on your computer.
The emulator lets you prototype, develop and test Android applications without using a physical device.


https://developer.android.com/studio/...

---------
Difference
---------

An Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by
defining hardware and software options to be emulated by the Android Emulator.

-------------------------------------------
For this video Im gonna use command Prompt,

To create a AVD
-------------------------------------------

First go to the android sdk installed directory - tools - bin

then using cmd type

----------------------------------------------------------------------------
avdmanager create avd -n name -k "sdk_id" [-c {path|size}] [-f] [-p path]
----------------------------------------------------------------------------

avdmanager create avd -n [name] -d [targetID] -k system-images;android-23;google_apis;x86

https://developer.android.com/studio/...

target id - API level.

emulator -list-avds - to list created emulators (You should be in tools directory to run this command)

you can go back one directory by cd ..

emulator avd [name] to run a emulator


On this page of the site you can watch the video online How to create a Android Vertual Device using terminal/Command Prompt with a duration of hours minute second in good quality, which was uploaded by the user SL Coder Ego with Coding (SL Programmer) 11 March 2018, share the link with friends and acquaintances, this video has already been watched 6,892 times on youtube and it was liked by 35 viewers. Enjoy your viewing!