Home | History | Annotate | only in /external/grpc-grpc/src/android/test/interop
Up to higher level directory
NameDateSize
app/22-Oct-2020
build.gradle22-Oct-2020531
gradle/22-Oct-2020
gradle.properties22-Oct-2020730
gradlew22-Oct-20204.9K
gradlew.bat22-Oct-20202.3K
README.md22-Oct-2020997
settings.gradle22-Oct-202015

README.md

      1 gRPC on Android
      2 ==============
      3 
      4 Note: Building the protobuf dependency for Android requires
      5 https://github.com/google/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   ```
     25 
     26 INSTRUMENTATION TESTS
     27 ---------------------
     28 
     29 The instrumentation tests can be run via the following `gradle` command. This
     30 requires an emulator already running on your computer.
     31 
     32 ```
     33 $ ./gradlew connectedAndroidTest \
     34   -Pandroid.testInstrumentationRunnerArguments.server_host=grpc-test.sandbox.googleapis.com \
     35   -Pandroid.testInstrumentationRunnerArguments.server_port=443 \
     36   -Pandroid.testInstrumentationRunnerArguments.use_tls=true
     37 ```
     38