mirror of https://github.com/grpc/grpc.io.git
grpc-io: Update Android quickstart docs with AndroidX and java version guidance in quickstart.md (#1452)
This commit is contained in:
parent
de5a33dd55
commit
ad84a08358
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue