mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 15:26:04 +02:00
emulator: add page (#4326)
This commit is contained in:
parent
383fd1c2b9
commit
928f80da01
2 changed files with 37 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# adb-install
|
||||
# adb install
|
||||
|
||||
> Android Debug Bridge Install: Push packages to an Android emulator instance or connected Android devices.
|
||||
> More information: <https://developer.android.com/studio/command-line/adb>.
|
||||
|
|
36
pages/common/emulator.md
Normal file
36
pages/common/emulator.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# emulator
|
||||
|
||||
> Manager Android emulators from the command line.
|
||||
> More information: <https://developer.android.com/studio/run/emulator-commandline>.
|
||||
|
||||
- Display the help:
|
||||
|
||||
`emulator -help`
|
||||
|
||||
- Start an Android emulator device:
|
||||
|
||||
`emulator -avd {{name}}`
|
||||
|
||||
- Display the webcams on your development computer that are available for emulation:
|
||||
|
||||
`emulator -avd {{name}} -webcam-list`
|
||||
|
||||
- Start an emulator overriding the facing back camera setting (use `-camera-front` for front camera):
|
||||
|
||||
`emulator -avd {{name}} -camera-back {{none|emulated|webcamN}}`
|
||||
|
||||
- Start an emulator, with a maximun network speed:
|
||||
|
||||
`emulator -avd {{name}} -netspeed {{gsm|hscsd|gprs|edge|hsdpa|lte|evdo|full}}`
|
||||
|
||||
- Start an emulator with network latency:
|
||||
|
||||
`emulator -avd {{name}} -netdelay {{gsm|hscsd|gprs|edge|hsdpa|lte|evdo|none}}`
|
||||
|
||||
- Start an emulator, making all TCP connections through a specified HTTP/HTTPS proxy (port number is required):
|
||||
|
||||
`emulator -avd {{name}} -http-proxy {{http://example.com:80}}`
|
||||
|
||||
- Start an emulator with a given SD card partition image file:
|
||||
|
||||
`emulator -avd {{name}} -sdcard {{path/to/sdcard.img}}`
|
Loading…
Add table
Reference in a new issue