| 1 |
gRPC on Android |
| 2 |
============== |
| 3 |
|
| 4 |
Note: Building the protobuf dependency for Android requires |
| 5 |
https://github.com/protocolbuffers/protobuf/pull/3878. This fix will be in the next |
| 6 |
protobuf release, but until then must be manually patched in to |
| 7 |
`third_party/protobuf` to build gRPC for Android. |
| 8 |
|
| 9 |
PREREQUISITES |
| 10 |
------------- |
| 11 |
|
| 12 |
- Android SDK |
| 13 |
- Android NDK |
| 14 |
- `protoc` and `grpc_cpp_plugin` binaries on the host system |
| 15 |
|
| 16 |
INSTALL |
| 17 |
------- |
| 18 |
|
| 19 |
The example application can be built via Android Studio or on the command line |
| 20 |
using `gradle`: |
| 21 |
|
| 22 |
```sh |
| 23 |
$ ./gradlew installDebug |
| 24 |
``` |