From 4fb584d1ad62d284911bf4c12389e652610ce35a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Fri, 23 May 2025 00:49:40 -0700 Subject: [PATCH] [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 --- docs/Building-the-Dart-VM-for-Android.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/Building-the-Dart-VM-for-Android.md b/docs/Building-the-Dart-VM-for-Android.md index 3cae102dfb0..a22a495e67b 100644 --- a/docs/Building-the-Dart-VM-for-Android.md +++ b/docs/Building-the-Dart-VM-for-Android.md @@ -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