Java codegen: link directly to Android page (#837)

This commit is contained in:
Patrice Chalin 2021-08-21 12:53:47 -04:00 committed by GitHub
parent ec719acffe
commit 1a0dd75f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -310,12 +310,12 @@ java_grpc_library(
)
```
Android developers, see [Generating client code](/docs/languages/android/basics/#generating-client-code) for reference.
Android developers, see [Generating client code](/docs/platforms/android/java/basics/#generating-client-code) for reference.
If you wish to invoke the protobuf plugin for gRPC Java directly,
the command-line syntax is as follows:
```sh
$ protoc --plugin=protoc-gen-grpc-java \
--grpc-java_out="$OUTPUT_FILE" --proto_path="$DIR_OF_PROTO_FILE" "$PROTO_FILE"
--grpc-java_out="$OUTPUT_FILE" --proto_path="$DIR_OF_PROTO_FILE" "$PROTO_FILE"
```