Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
dddf5727
Commit
dddf5727
authored
May 10, 2017
by
Ian Hickson
Committed by
GitHub
May 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks to flutter doctor (#9963)
parent
7a52116d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
android_workflow.dart
packages/flutter_tools/lib/src/android/android_workflow.dart
+1
-1
gradle.dart
packages/flutter_tools/lib/src/android/gradle.dart
+1
-2
doctor.dart
packages/flutter_tools/lib/src/commands/doctor.dart
+1
-0
No files found.
packages/flutter_tools/lib/src/android/android_workflow.dart
View file @
dddf5727
...
...
@@ -104,7 +104,7 @@ class AndroidWorkflow extends DoctorValidator implements Workflow {
}
else
{
messages
.
add
(
new
ValidationMessage
.
error
(
'Unable to locate Android SDK.
\n
'
'Install Android Studio from
https://developer.android.com/studio/index.html.
\n
'
'Install Android Studio from
: https://developer.android.com/studio/index.html
\n
'
'On first launch it will assist you in installing the Android SDK components.
\n
'
'(or visit https://flutter.io/setup/#android-setup for detailed instructions).
\n
'
'If Android SDK has been installed to a custom location, set
\$
$kAndroidHome
to that location.'
...
...
packages/flutter_tools/lib/src/android/gradle.dart
View file @
dddf5727
...
...
@@ -133,9 +133,8 @@ String ensureGradle() {
String
gradle
=
locateProjectGradlew
();
if
(
gradle
==
null
)
{
gradle
=
locateSystemGradle
();
if
(
gradle
==
null
)
{
if
(
gradle
==
null
)
throwToolExit
(
'Unable to locate gradle. Please install Android Studio.'
);
}
}
printTrace
(
'Using gradle from
$gradle
.'
);
return
gradle
;
...
...
packages/flutter_tools/lib/src/commands/doctor.dart
View file @
dddf5727
...
...
@@ -11,6 +11,7 @@ class DoctorCommand extends FlutterCommand {
DoctorCommand
()
{
argParser
.
addFlag
(
'android-licenses'
,
defaultsTo:
false
,
negatable:
false
,
help:
'Run the Android SDK manager tool to accept the SDK
\'
s licenses.'
,
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment