Merge pull request #214 from indranil32/patch-1

Updating README for issue #200
This commit is contained in:
Budi Utomo 2020-01-07 10:07:48 +01:00 committed by GitHub
commit 6e953ab74b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,16 +113,16 @@ 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: 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). 1. Clone [this sample test project](https://github.com/android/testing-samples).
```bash ```bash
git clone git@github.com:googlesamples/android-testing.git git clone git@github.com:android/testing-samples.git
``` ```
2. Build the project 2. Build the project
```bash ```bash
docker run -it --rm -v $PWD/android-testing/ui/espresso/BasicSample:/root/tmp budtmo/docker-android-x86-8.1 tmp/gradlew build docker run -it --rm -v $PWD/testing-samples/ui/espresso/BasicSample:/root/tmp budtmo/docker-android-x86-8.1 tmp/gradlew build
``` ```
Control Android connected to host (Emulator or Real Device) Control Android connected to host (Emulator or Real Device)