grpc-io: Update Android quickstart docs with AndroidX and java version guidance in quickstart.md (#1452)

This commit is contained in:
Sangamesh 2025-07-21 15:08:26 +05:30 committed by GitHub
parent de5a33dd55
commit ad84a08358
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -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 1117). 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