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

Опубликовано: 11 Март 2018
на канале: 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


Смотрите видео How to create a Android Vertual Device using terminal/Command Prompt онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SL Coder Ego with Coding (SL Programmer) 11 Март 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,856 раз и оно понравилось 35 людям.