grpc/examples/android/helloworld
AJ Heller 83868b695e
Assert Android API >= v21 (#27943)
* Assert Android API >= v21

This precedes a change that would otherwise break on older Android APIs,
but in a more obvious way.

* error if __ANDROID_API__ is not defined

* update all Andriod minSdkVersions to 21

* csharp experimental: android-19 to 21
2021-11-05 19:04:05 -07:00
..
app Assert Android API >= v21 (#27943) 2021-11-05 19:04:05 -07:00
gradle/wrapper Upgrade gradlewrapper to 6.5.1 2020-08-27 14:16:09 -07: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 Bump Android SDK 2020-08-27 19:54:35 -07: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