Added sample how to build Android project
This commit is contained in:
parent
c1d66496fb
commit
47621a7ccb
17
README.md
17
README.md
|
@ -146,6 +146,23 @@ There is [example of compose file] to run complete selenium grid and docker-andr
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Build Android project
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
docker-android can be used for building Android project and executing its unit test. This following steps will illustrate how to build Android project:
|
||||||
|
|
||||||
|
1. Clone [this sample test project](https://github.com/googlesamples/android-testing).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone git@github.com:googlesamples/android-testing.git
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Build the project
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run -it --rm -v $PWD/android-testing/ui/espresso/BasicSample:/root/tmp butomo1989/docker-android-x86-7.1.1 tmp/gradlew build
|
||||||
|
```
|
||||||
|
|
||||||
Control android emulator outside container
|
Control android emulator outside container
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue