docker-android/documentations/USE_CASE_CONTROL_EMULATOR.md

18 lines
438 B
Markdown
Raw Permalink Normal View History

2023-05-09 17:34:44 +00:00
Control emulator from host machine
----------------------------------
1. Open port 5554 and 5555 while running docker-android container
```
docker run ... -p 5554:5554 -p 5555:5555 ...
```
2. Connect emulator inside docker-android container with host adb
```
adb connect <docker-machine-ip-address>:5555
```
![connect_emulator_with_host_machine](../images/use-case_control-emulator.png)
[<- BACK TO README](../README.md)