Xudong Ma ce3fbd3fd8 Fix breakage due to gRPC java package change: nano -> protobuf.nano há 10 anos atrás
..
app ce3fbd3fd8 Fix breakage due to gRPC java package change: nano -> protobuf.nano há 10 anos atrás
gradle aea1801393 Build the Android tutorial app by gradle há 10 anos atrás
.gitignore aea1801393 Build the Android tutorial app by gradle há 10 anos atrás
README.md b288bf14cb Fixes the path for cd command há 10 anos atrás
build.gradle aea1801393 Build the Android tutorial app by gradle há 10 anos atrás
gradlew aea1801393 Build the Android tutorial app by gradle há 10 anos atrás
gradlew.bat aea1801393 Build the Android tutorial app by gradle há 10 anos atrás
settings.gradle aea1801393 Build the Android tutorial app by gradle há 10 anos atrás

README.md

gRPC Hello World Tutorial (Android Java)

BACKGROUND

For this sample, we've already generated the server and client stubs from helloworld.proto.

PREREQUISITES

  • Java gRPC

  • Android Tutorial if you're new to Android development

  • We only have Android gRPC client in this example. Please follow examples in other languages to build and run a gRPC server.

INSTALL

1 Clone the gRPC Java git repo

$ git clone https://github.com/grpc/grpc-java

2 Install gRPC Java, as described in How to Build

$ # from this dir
$ cd grpc-java
$ # follow the instructions in 'How to Build'

3 Prepare the app

  • Clone this git repo

    $ git clone https://github.com/grpc/grpc-common
    
    

4 Install the app

$ cd grpc-common/java/android
$ ./gradlew installDebug