update readme

This commit is contained in:
ppoffice 2021-07-13 00:33:41 -04:00
parent 9873d9a595
commit cd3131fe13
No known key found for this signature in database
GPG Key ID: D872802C1F2A16AA
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Docker for Android SDK 30 with preinstalled build tools and emulator image
- Interactive way - Interactive way
```bash ```bash
$ docker run -it --rm --privileged androidsdk/android-30:latest bash $ docker run -it --rm --device /dev/kvm androidsdk/android-30:latest bash
# check installed packages # check installed packages
$ sdkmanager --list $ sdkmanager --list
# create and run emulator # create and run emulator
@ -32,7 +32,7 @@ Docker for Android SDK 30 with preinstalled build tools and emulator image
# You can also run other Android platform tools, which are all added to the PATH environment variable # You can also run other Android platform tools, which are all added to the PATH environment variable
``` ```
To connect the emulator using `adb` on the docker host machine, start the container with `--net=host`. To connect the emulator using `adb` on the docker host machine, start the container with `--network host` as well.
You could also use [`scrcpy`](https://github.com/Genymobile/scrcpy) to do a screencast of the emulator. You could also use [`scrcpy`](https://github.com/Genymobile/scrcpy) to do a screencast of the emulator.
- Non-interactive way - Non-interactive way