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,856
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


Watch video How to create a Android Vertual Device using terminal/Command Prompt online without registration, duration hours minute second in high quality. This video was added by user SL Coder Ego with Coding (SL Programmer) 11 March 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,856 once and liked it 35 people.