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

Publié le: 11 mars 2018
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne How to create a Android Vertual Device using terminal/Command Prompt durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SL Coder Ego with Coding (SL Programmer) 11 mars 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,892 fois et il a aimé 35 téléspectateurs. Bon visionnage!