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

This commit is contained in:
Michael Goderbauer
2017-04-18 11:56:09 -07:00
committed by GitHub
parent 8ed175411b
commit 9a05e984d8

View File

@@ -103,9 +103,11 @@ 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'
'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.'
));
}