Skip to content

Commit 4fb584d

Browse files
ntkmemraleph
authored andcommitted
[docs] Fix build documentation for Android
Closes #60766 GitOrigin-RevId: 0e5b924 Change-Id: I5b63b7b764ffd39b990367ff68dcd013c64203c4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429842 Reviewed-by: Slava Egorov <[email protected]>
1 parent 29d5395 commit 4fb584d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/Building-the-Dart-VM-for-Android.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ It is possible to build and run the standalone Dart VM for Android devices.
1414

1515
Download and install the Dart source tree using the standard instructions for building Dart.
1616

17-
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):
17+
Use a text editor to update your Dart .gclient file (which is located in the directory that contains the main 'dart' directory):
1818

19-
`download_android_deps = True`
19+
```
20+
"custom_vars": {
21+
"download_android_deps": True,
22+
},
23+
```
2024

2125
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
2226

0 commit comments

Comments
 (0)