mirror of https://github.com/grpc/grpc-java.git
All the changes outside libs.versions.toml and examples were because of ErrorProne. It didn't actually find anything to fix; signal vs noise has gotten pretty bad with the newer checks. Status was changed for ErrorProne's SuperCallToObjectMethod. With the old code it didn't notice the trivial implementation. The fail-for-test code wasn't used, so it was easiest to just remove it. Some of the libs had their versions inlined; now that we have :checkForUpdates it isn't much of a risk for versions to diverge when there's only a few artifacts sharing a version. If we need 4+ artifacts to have the same version, then it makes sense to still use a shared version. Dependencies not upgraded: google-auth-libray, mockito, netty, cronet |
||
|---|---|---|
| .. | ||
| 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.