Skip to content

Commit bcf6cc5

Browse files
authored
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).
1 parent 1285477 commit bcf6cc5

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

examples/android/README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,16 @@ PREREQUISITES
1111

1212
INSTALL
1313
-------
14-
**1. Clone the gRPC Java git repo**
15-
```sh
16-
$ git clone https://github.com/grpc/grpc-java
17-
$ cd grpc-java
18-
```
1914

20-
**2. Install gRPC Java (not necessary for released versions)**
15+
1. (Only for non-released versions) Install gRPC Java
2116
```sh
17+
$ cd ../..
2218
$ ./gradlew install -PskipCodegen=true
19+
$ cd examples/android
2320
```
2421

25-
**3. Install the app**
22+
2. Install the app
2623
```sh
27-
$ cd examples/android/helloworld (or cd examples/android/routeguide)
24+
$ cd helloworld # or "cd routeguide"
2825
$ ./gradlew installDebug
2926
```

0 commit comments

Comments
 (0)