1. 27 Jun, 2018 1 commit
  2. 05 Jun, 2018 1 commit
  3. 18 May, 2018 1 commit
  4. 14 May, 2018 1 commit
  5. 09 May, 2018 3 commits
  6. 09 Apr, 2018 1 commit
  7. 28 Mar, 2018 1 commit
  8. 20 Mar, 2018 1 commit
  9. 01 Mar, 2018 1 commit
  10. 28 Feb, 2018 1 commit
    • jcollins-g's avatar
      Android license detector in doctor, take two (#14783) · 614df694
      jcollins-g authored
      * Revert "Revert "Add android license verification to doctor and some refactoring" (#14727)"
      
      This reverts commit d2602947.
      
      * Add tests, fix sdkManagerEnv and use it consistently, and rearrange Status object model
      
      * AnsiSpinner needs to leave the cursor where it found it.
      
      * fix tests
      
      * Const constructor warning only shows up on windows...?
      
      * Avoid crash if we can't find the home directory
      
      * Make pathVarSeparator return a string in the mock
      
      * Implement review comments
      
      * Fix out-of-order problem on stop
      614df694
  11. 15 Feb, 2018 1 commit
  12. 14 Feb, 2018 1 commit
  13. 25 Jan, 2018 1 commit
    • Chris Bracken's avatar
      Add version check for doctor --android-licenses (#14249) · 1058cff3
      Chris Bracken authored
      flutter doctor --android-licenses requires Android sdkmanager version 26
      or later. When sdkmanager is not available (SDKs earlier than v25),
      direct users to SDK upgrade instructions. When it's installed but not
      v26 or later, emit instructions to run sdkmanager --update.
      1058cff3
  14. 24 Jan, 2018 1 commit
    • Chris Bracken's avatar
      Add AndroidSdk.sdkManagerPath, sdkManagerVersion (#14247) · 9654659c
      Chris Bracken authored
      Convenience getters for the the path to the Android SDK manager and the
      currently installed version of the tool.
      
      Pre-factoring to support better checks around the --android-licenses
      command, which uses a feature of the SDK manager that is unsupported in
      older versions of the tool.
      9654659c
  15. 06 Dec, 2017 1 commit
  16. 05 Dec, 2017 1 commit
  17. 21 Nov, 2017 1 commit
    • Martin Kustermann's avatar
      Add support for NDK discovery and add --prefer-shared-library option (#12788) · 545ec9ef
      Martin Kustermann authored
      * Add support for NDK discovery and add --prefer-shared-library option
      
      We would like to be able to use native tools (e.g. simpleperf, gdb) with
      precompiled flutter apps.  The native tools work much better with *.so
      files instead of the custom formats the Dart VM uses by default.
      
      The reason for using blobs / instruction snapshots is that we do not
      want to force flutter users to install the Android NDK.
      
      This CL adds a `--prefer-shared-library` flag to e.g. `flutter build
      apk` which will use the NDK compiler (if available) to turn the
      precompiled app assembly file to an `*.so` file.  If the NDK compiler is
      not available it will default to the default behavior.
      
      * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag
      
      * Use InMemoryFileSystem for test
      
      * Remove unused import
      
      * Address some analyzer warnings
      545ec9ef
  18. 17 Nov, 2017 1 commit
    • Todd Volkert's avatar
      Extract Android SDK version from named platform dirs. (#13056) · f0e88198
      Todd Volkert authored
      Previously, we were mapping certain named platforms
      (e.g. `android-stable`) to their corresponding version.
      this had two problems:
      
      1. The version could become out of date. For instance, we had
         mapped `android-stable` to version 24, but the stable version
         is now 27.
      2. The list of possible named versions wasn't comprehensive.
         Some Android SDKs just list the platform as `stable`, or
         `experimental`, etc.
      
      This change updates the platform version detection to use
      the `build.prop` file that exists in the platform directory
      (only for cases where the version number is not encoded into
      the directory name).
      f0e88198
  19. 20 Sep, 2017 1 commit
  20. 20 Jun, 2017 1 commit
  21. 15 Jun, 2017 1 commit
  22. 02 Jun, 2017 1 commit
  23. 10 May, 2017 2 commits
  24. 09 May, 2017 1 commit
  25. 18 Apr, 2017 1 commit
  26. 13 Apr, 2017 1 commit
  27. 08 Apr, 2017 1 commit
    • Alexandre Ardhuin's avatar
      upgrade to linter-0.1.30 (#9297) · 610955f8
      Alexandre Ardhuin authored
      * upgrade to linter-0.1.30
      
      * add prefer_is_empty lint
      * add directives_ordering lint
      * add no_adjacent_strings_in_list lint
      * add no_duplicate_case_values lint
      * add prefer_collection_literals lint
      * add prefer_const_constructors lint
      * add prefer_contains lint
      * add prefer_initializing_formals lint
      * add unnecessary_null_aware_assignments lint
      * add unnecessary_null_in_if_null_operators lint
      610955f8
  28. 23 Mar, 2017 1 commit
  29. 14 Mar, 2017 1 commit
    • John McCutchan's avatar
      Improvements to flutter doctor JDK search. (#8745) · 2148e9af
      John McCutchan authored
      - [x] Add custom logic on MacOS to determine if Java is installed before invoking `java`.
      - [x] Check JAVA_HOME, platform specific logic, and finally PATH to locate the `java` executable.
      - [x] Improved doctor messages.
      
      Fixes #8508
      Fixes #8521
      2148e9af
  30. 04 Mar, 2017 1 commit
  31. 24 Feb, 2017 1 commit
  32. 22 Feb, 2017 2 commits
  33. 20 Feb, 2017 1 commit
    • Jakob Andersen's avatar
      Teach flutter tools to find gradle (#8241) · 77efc38b
      Jakob Andersen authored
      * Teach flutter tools to find gradle
      
      Flutter tools will now use Gradle from Android Studio, which is now found automatically.
      
      flutter doctor will verify that Android Studio has been installed, and that the included Gradle is at least version 2.14.1.
      
      It is still possible to manually configure the path to Android Studio (flutter config --android-studio-dir=XXX) or Gradle (flutter config --gradle-dir=XXX), but this should only be necessary if they're installed somewhere non-standard.
      
      Only tested on Linux and macOS for now.
      
      Fixes #8131
      77efc38b
  34. 15 Feb, 2017 2 commits
  35. 26 Jan, 2017 1 commit