-
Notifications
You must be signed in to change notification settings - Fork 509
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
grpc-io: Update Android quickstart docs with AndroidX and java version guidance in quickstart.md #1452
Changes from 4 commits
bb075db
e7f16b5
578c1b4
cdde9af
00cc814
b43b5e7
311dc52
00b1168
3d06091
27f8677
a857b7f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,11 +24,17 @@ 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 | ||
| local (non-Android) computer. | ||
| {{% /alert %}} | ||
|
|
||
| For AGP 7.x, it's recommended to use Java 11, 17, or 20 to avoid DexWorkAction / D8 issues. | ||
| While Java 21 might technically work, it's safer to avoid it due to potential compatibility quirks. | ||
|
||
| Note that AGP 8.x and later explicitly require Java 17 as the minimum version.{{% /alert %}} | ||
|
|
||
| ### Get the example code | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just mention 11 - 20