android13/external/grpc-grpc/examples/android/helloworld
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
app initial 2024-06-22 20:45:49 +08:00
gradle/wrapper initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
build.gradle initial 2024-06-22 20:45:49 +08:00
gradle.properties initial 2024-06-22 20:45:49 +08:00
gradlew initial 2024-06-22 20:45:49 +08:00
gradlew.bat initial 2024-06-22 20:45:49 +08:00
settings.gradle initial 2024-06-22 20:45:49 +08:00

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