Commit 9a05e984 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Ask users to set ANDROID_HOME if SDK is installed in a non-standard location (#9445)

parent 8ed17541
...@@ -103,9 +103,11 @@ class AndroidWorkflow extends DoctorValidator implements Workflow { ...@@ -103,9 +103,11 @@ class AndroidWorkflow extends DoctorValidator implements Workflow {
)); ));
} else { } else {
messages.add(new ValidationMessage.error( 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' '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).' '(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.'
)); ));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment