From cf48f145d50748934f9ebd90da4bdbf445fca17d Mon Sep 17 00:00:00 2001 From: Todd Volkert Date: Fri, 23 Oct 2015 15:08:53 -0700 Subject: [PATCH] Update 'Getting the code and configuring your environment' to have the user run download_android_tools.py before adding platform-tools to their path so they don't fret over the platform-tools folder not existing yet. --- engine/src/flutter/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/CONTRIBUTING.md b/engine/src/flutter/CONTRIBUTING.md index 96547081924..b8a0018a0bc 100644 --- a/engine/src/flutter/CONTRIBUTING.md +++ b/engine/src/flutter/CONTRIBUTING.md @@ -45,11 +45,11 @@ target_os = ["android"] * `gclient sync` This will fetch all the source code that Flutter depends on. Avoid interrupting this script, it can leave your repository in an inconsistent state that is tedious to clean up. * `cd src` (Change to the directory that `gclient sync` created in your `flutter` directory.) * `git remote add upstream git@github.com:flutter/engine.git` (So that you fetch from the master repository, not your clone, when running `git fetch` et al.) + * Run `./tools/android/download_android_tools.py` . * Add `.../flutter/src/third_party/dart-sdk/dart-sdk/bin/` to your path so that you can run the `pub` tool more easily. * Add `.../flutter/src/third_party/android_tools/sdk/platform-tools` to your path so that you can run the `adb` tool more easily. This is also required by the `flutter` tool, which is used to run Flutter apps. * Add `$HOME/.pub-cache/bin` to your path if it's not already there. (It will already be there if you've ever set up Dart's `pub` tool before.) * Make sure you are still in the 'src' directory that the `gclient sync` step created earlier. - * Run `./tools/android/download_android_tools.py` . * If you're on Linux, run `sudo ./build/install-build-deps-android.sh` . * If you're on Linux, run `sudo ./build/install-build-deps.sh` . * If you're on Mac, install Oracle's Java JDK, version 1.7 or later.