mirror of https://github.com/grpc/grpc-java.git
The version bump happened in some places already, but many references were missed. This fixes the following warning that shows up with newer versions of Gradle: > Using TaskInputs.file() with something that doesn't resolve to a File > object has been deprecated and is scheduled to be removed in Gradle > 5.0. Use TaskInputs.files() instead. |
||
|---|---|---|
| .. | ||
| clientcache | ||
| helloworld | ||
| routeguide | ||
| 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
- (Only for non-released versions) Install gRPC Java
$ cd ../..
$ ./gradlew install -PskipCodegen=true
$ cd examples/android
- Install the app
$ cd helloworld # or "cd routeguide"
$ ./gradlew installDebug
Please refer to the tutorial on how to use gRPC in Android programs.