mirror of https://github.com/grpc/grpc-java.git
This mainly avoids protoc from 3.7.0 which has a dependency on libatomic. Most of our systems have libatomic, so it mostly works, but the interop docker container does not, so building fails. Version 3.7.1 was rebuilt to avoid needing the libatomic shared library. This has the added benefit that Bazel is now on the same version as Gradle, as 3.7.1 included fixes for Bazel. |
||
|---|---|---|
| .. | ||
| clientcache | ||
| helloworld | ||
| routeguide | ||
| strictmode | ||
| README.md | ||
README.md
gRPC Hello World Example (Android Java)
PREREQUISITES
-
Android Tutorial if you're new to Android development
-
We only have Android gRPC client in this example. Please follow examples in other languages to build and run a gRPC server.
INSTALL
-
Install gRPC Java library SNAPSHOT locally, including code generation plugin (Only need this step for non-released versions, e.g. master HEAD).
-
Install the app
$ cd helloworld # or "cd routeguide"
$ ../../gradlew installDebug
Please refer to the tutorial on how to use gRPC in Android programs.