grpc-java/examples/android
Eric Anderson d7bf67e01f examples: Provide Maven and Gradle build files
The examples are no longer part of the normal build, although they are
built with Travis. The examples now include their own copy of the gradle
wrapper to ease usage from IDEs which can now properly detect the
correct version of gradle to use.

The build files were generated using "gradle init" and "mvn
archetype:generate" and then modified following our README.

Fixes #1414
2016-07-11 09:20:25 -07:00
..
app Start 1.0.0 development cycle 2016-07-01 11:46:33 -07:00
gradle/wrapper examples: Provide Maven and Gradle build files 2016-07-11 09:20:25 -07:00
.gitignore move grpc-common stuff to right location 2015-08-27 16:07:41 -07:00
README.md examples: Provide Maven and Gradle build files 2016-07-11 09:20:25 -07:00
build.gradle Upgrade to Gradle 2.13 2016-05-09 09:36:13 -07:00
gradlew examples: Provide Maven and Gradle build files 2016-07-11 09:20:25 -07:00
gradlew.bat examples: Provide Maven and Gradle build files 2016-07-11 09:20:25 -07:00
settings.gradle move grpc-common stuff to right location 2015-08-27 16:07:41 -07:00

README.md

gRPC Hello World Tutorial (Android Java)

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
$ cd grpc-java

2. Install gRPC Java (not necessary for released versions)

$ ./gradlew install -PskipCodegen=true

3. Install the app

$ cd examples/android
$ ./gradlew installDebug