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

Publicado em: 11 Março 2018
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line How to create a Android Vertual Device using terminal/Command Prompt duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário SL Coder Ego with Coding (SL Programmer) 11 Março 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 6,892 vezes e gostou 35 espectadores. Boa visualização!