[docs] Fix build documentation for Android

Closes https://github.com/dart-lang/sdk/pull/60766

GitOrigin-RevId: 0e5b924cc62ecdaa01f671dc1c3a92a5ba156567
Change-Id: I5b63b7b764ffd39b990367ff68dcd013c64203c4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429842
Reviewed-by: Slava Egorov <vegorov@google.com>
This commit is contained in:
なつき
2025-05-23 00:49:40 -07:00
committed by Slava Egorov
parent 29d5395c49
commit 4fb584d1ad
+6 -2
View File
@@ -14,9 +14,13 @@ It is possible to build and run the standalone Dart VM for Android devices.
Download and install the Dart source tree using the standard instructions for building Dart.
Use a text editor to add the following line to the very bottom of your Dart .gclient file (which is located in the directory that contains the main 'dart' directory):
Use a text editor to update your Dart .gclient file (which is located in the directory that contains the main 'dart' directory):
`download_android_deps = True`
```
"custom_vars": {
"download_android_deps": True,
},
```
Run gclient sync to install the Android NDK and SDK. This may take 10 minutes or more depending upon the speed of your Internet connection