Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 21, 2025
Merged
8 changes: 7 additions & 1 deletion content/en/docs/platforms/android/java/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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][].
Expand All @@ -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
Expand Down