grpc-java/examples/android
Eric Anderson 6a50a63ca8 Replace javax.annotation-api with Tomcat's annotations-api
javax.annotation-api is licensed CDDL, which was not noticed when it was
introduced. Tomcat provides an Apache 2 version of the same annotation. Note
that this annotation is only used when compiling with Java 9+.

Unfortunately this may cause classpath collisions since there are _many_ copies
of this annotation on Maven Central; we wanted one canonical source and
javax.annotation-api seemed like that source. We hope this won't impact many
users since we have always suggested using it only for compilation. But it will
probably impact some users. However, we didn't create this mess, this seems to
be "standard practice" for J2EE, which this annotation is now part of, so we're
just impacted by it.

Fixes #6833
2020-04-30 09:14:32 -07:00
..
clientcache Replace javax.annotation-api with Tomcat's annotations-api 2020-04-30 09:14:32 -07:00
helloworld Replace javax.annotation-api with Tomcat's annotations-api 2020-04-30 09:14:32 -07:00
routeguide Replace javax.annotation-api with Tomcat's annotations-api 2020-04-30 09:14:32 -07:00
strictmode Replace javax.annotation-api with Tomcat's annotations-api 2020-04-30 09:14:32 -07:00
README.md all: remove copies of gradle wrapper 2018-12-11 16:23:28 -08:00

README.md

gRPC Hello World Example (Android Java)

PREREQUISITES

INSTALL

  1. Install gRPC Java library SNAPSHOT locally, including code generation plugin (Only need this step for non-released versions, e.g. master HEAD).

  2. Install the app

$ cd helloworld  # or "cd routeguide"
$ ../../gradlew installDebug

Please refer to the tutorial on how to use gRPC in Android programs.