tree: 9cea80096c15732c6f70663976bfb8c9023832e3 [path history] [tgz]
  1. app/
  2. gradle/
  3. .gitignore
  4. build.gradle
  5. gradle.properties
  6. gradlew
  7. gradlew.bat
  8. README.md
  9. settings.gradle
examples/android/helloworld/README.md

gRPC on Android

Note: Building the protobuf dependency for Android requires https://github.com/google/protobuf/pull/3878. This fix will be in the next protobuf release, but until then must be manually patched in to third_party/protobuf to build gRPC for Android.

PREREQUISITES

  • Android SDK
  • Android NDK
  • protoc and grpc_cpp_plugin binaries on the host system

INSTALL

The example application can be built via Android Studio or on the command line using gradle:

$ ./gradlew installDebug