mirror of https://github.com/grpc/grpc-java.git
The new jmh plugin fixes a warning for the newer version of Gradle. The new AppEngine plugin still produces a warning, but updating it anyway so people know that upgrading the plugin doesn't fix the problem. The new android-maven plugin fixes a build problem with the newer Gradle. The Visual Studio fixes were necessary starting ~4.4. https://github.com/gradle/gradle-native/issues/34#issuecomment-335222096 describes the change in behavior. There's nothing immediately being used as part of this update. It's just to keep us current and to get us over that Visual Studio change hump. |
||
|---|---|---|
| .. | ||
| 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.