Ask users to set ANDROID_HOME if SDK is installed in a non-standard location (#9445)
diff --git a/packages/flutter_tools/lib/src/android/android_workflow.dart b/packages/flutter_tools/lib/src/android/android_workflow.dart index cd93d32..19b39af 100644 --- a/packages/flutter_tools/lib/src/android/android_workflow.dart +++ b/packages/flutter_tools/lib/src/android/android_workflow.dart
@@ -103,9 +103,11 @@ )); } 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.' )); }