Simplify commands in Android README

Comments should really use '#', since it is shell. Also, we avoid
telling users to clone the git repo since 1) this is basically implicit
already and 2) it encourages them to checkout master instead of using
the latest release. This is especially helpful when the document is
referenced from http://grpc.io/docs since they specify checking out the
latest release (which is much easier to maintain when using jekyll which
is not an option here).
This commit is contained in:
Eric Anderson 2016-08-17 14:12:41 -07:00 committed by GitHub
parent 1285477133
commit bcf6cc51ca
1 changed files with 5 additions and 8 deletions

View File

@ -11,19 +11,16 @@ PREREQUISITES
INSTALL
-------
**1. Clone the gRPC Java git repo**
```sh
$ git clone https://github.com/grpc/grpc-java
$ cd grpc-java
```
**2. Install gRPC Java (not necessary for released versions)**
1. (Only for non-released versions) Install gRPC Java
```sh
$ cd ../..
$ ./gradlew install -PskipCodegen=true
$ cd examples/android
```
**3. Install the app**
2. Install the app
```sh
$ cd examples/android/helloworld (or cd examples/android/routeguide)
$ cd helloworld # or "cd routeguide"
$ ./gradlew installDebug
```