forked from grpc/grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C++ on Android example client and server
- Loading branch information
1 parent
1786766
commit a32a4c5
Showing
25 changed files
with
1,027 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
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`: | ||
|
||
```sh | ||
$ ./gradlew installDebug | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
Oops, something went wrong.