From ad84a083586f924c96c1aae63e076feb4f683a93 Mon Sep 17 00:00:00 2001 From: Sangamesh Date: Mon, 21 Jul 2025 15:08:26 +0530 Subject: [PATCH] grpc-io: Update Android quickstart docs with AndroidX and java version guidance in quickstart.md (#1452) --- content/en/docs/platforms/android/java/quickstart.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/en/docs/platforms/android/java/quickstart.md b/content/en/docs/platforms/android/java/quickstart.md index f132c07..43d9af9 100644 --- a/content/en/docs/platforms/android/java/quickstart.md +++ b/content/en/docs/platforms/android/java/quickstart.md @@ -6,7 +6,10 @@ weight: 10 ### Prerequisites -- [JDK][] version 7 or higher +- [JDK][] version 11 or higher. + + 1. The example uses AGP 7.x (compatible with Java 11–17). If you upgrade it to AGP 8.x, it requires Java 17+. + - Android SDK, API level 16 or higher 1. Install [Android Studio][] or the Android [command-line tools][]. @@ -24,6 +27,9 @@ weight: 10 - An android device set up for [USB debugging][] or an [Android Virtual Device][] +- Add the following line in your gradle.properties to ensure compatibility with Android tooling and libraries: + **android.useAndroidX=true** + {{% alert title="Note" color="info" %}} gRPC Java does not support running a server on an Android device. For this quick start, the Android client app will connect to a server running on your