From 47621a7ccb381b2bbdbd2b669322b1db4648d790 Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Sat, 17 Feb 2018 10:00:03 +0100 Subject: [PATCH] Added sample how to build Android project --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index cb0bc71..a08da1f 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,23 @@ There is [example of compose file] to run complete selenium grid and docker-andr 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 ------------------------------------------