grpc/examples/android/helloworld
Esun Kim 5c0f349761 [Build] Bump the required CMake version to 3.13 (#35572)
We've been trying to upgrade Cmake to 3.13 or later as OSS policy bumped it. But we couldn't as Android has a weird linker error with Cmake 3.18 (you can see the error from https://github.com/grpc/grpc/pull/34331) This PR instead upgrades it to use 3.22 for Android test.

Closes #35572

PiperOrigin-RevId: 599317285
2024-01-17 16:08:53 -08:00
..
app [Build] Bump the required CMake version to 3.13 (#35572) 2024-01-17 16:08:53 -08:00
gradle/wrapper Update all Debian:9 to Debian:10 (#31917) 2023-01-23 10:50:41 -08:00
.gitignore C++ on Android example client and server 2018-03-02 08:42:46 -08:00
README.md Pointing the protobuf submodule to the new URL (#26811) 2021-07-29 10:19:16 -07:00
build.gradle Update all Debian:9 to Debian:10 (#31917) 2023-01-23 10:50:41 -08:00
gradle.properties C++ on Android example client and server 2018-03-02 08:42:46 -08:00
gradlew C++ on Android example client and server 2018-03-02 08:42:46 -08:00
gradlew.bat C++ on Android example client and server 2018-03-02 08:42:46 -08:00
settings.gradle C++ on Android example client and server 2018-03-02 08:42:46 -08:00

README.md

gRPC on Android

Note: Building the protobuf dependency for Android requires https://github.com/protocolbuffers/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