grpc-java/examples/android
Eric Anderson b1d72e5c3e all: Bump protobuf to 3.0.2, to fix protoc in CI
protoc no longer builds in 3.0.0 because auto-download of the gmock zip
now fails. 3.0.2 has a fix to autogen:
bba446bbf2

All that was strictly necessary was to update .travis.yml and
buildscripts/, but it helps our sanity to keep the rest of the protobuf
versions in sync. Lite is left on its existing version, because it did
not see a bump of neither the java library nor the protoc plugin.
2016-09-29 10:25:31 -07:00
..
helloworld all: Bump protobuf to 3.0.2, to fix protoc in CI 2016-09-29 10:25:31 -07:00
routeguide all: Bump protobuf to 3.0.2, to fix protoc in CI 2016-09-29 10:25:31 -07:00
README.md Simplify commands in Android README 2016-08-17 14:12:41 -07:00

README.md

gRPC Hello World Tutorial (Android Java)

PREREQUISITES

  • Java gRPC

  • 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

  1. (Only for non-released versions) Install gRPC Java
$ cd ../..
$ ./gradlew install -PskipCodegen=true
$ cd examples/android
  1. Install the app
$ cd helloworld  # or "cd routeguide"
$ ./gradlew installDebug