Issue 1:
My only User Profile in my Windows PC has a space in it. Because of that, I cant do anything with flutter. Will this be fixed? Only way around this is to create a new User Account without space?

Steps to Reproduce

Create a User account with space in it.

run flutter create test_app

Logs

Running "flutter packages get" in first... 19.2s

CreateProcessW failed 193

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: 3a63d7dedece9c9d)
-CreateProcessW failed 193
Unhandled exception:
ProcessException: %1 is not a valid Win32 application.

Command: C:\Users\Sherin Binu\AppData\Local\Android\sdk\platform-tools\adb.EXE devices -l
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:485)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:631)
#2 Process.runSync (dart:io-patch/process_patch.dart:66)
#3 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:83)
#4 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:321)
#5 runSync (package:flutter_tools/src/base/process.dart:296)
#6 getAdbDevices (package:flutter_tools/src/android/android_device.dart:557)
#7 AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:54)
<asynchronous suspension>
#8 PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
<asynchronous suspension>
#9 DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
<asynchronous suspension>
#10 DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
<asynchronous suspension>
#11 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12 Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
<asynchronous suspension>
#13 _doctorText.<anonymous closure> (package:flutter_tools/runner.dart:194)
#14 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#15 _rootRun (dart:async/zone.dart:1126)
#16 _CustomZone.run (dart:async/zone.dart:1023)
#17 runZoned (dart:async/zone.dart:1501)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#19 _doctorText (package:flutter_tools/runner.dart:193)
<asynchronous suspension>
#20 _createLocalCrashReport (package:flutter_tools/runner.dart:171)
<asynchronous suspension>
#21 _handleToolError (package:flutter_tools/runner.dart:126)
<asynchronous suspension>
#22 run.<anonymous closure> (package:flutter_tools/runner.dart:63)
<asynchronous suspension>
#23 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#24 _rootRun (dart:async/zone.dart:1126)
#25 _CustomZone.run (dart:async/zone.dart:1023)
#26 runZoned (dart:async/zone.dart:1501)
#27 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#28 runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#29 run (package:flutter_tools/runner.dart:50)
#30 main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#31 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#32 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

<!-- If possible, paste the output of running `flutter doctor -v` here. -->
## When i run flutter doctor -v

[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.112], locale en-IN)
• Flutter version 0.5.1 at C:\flutter
• Framework revision c7ea3ca377 (4 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760

-CreateProcessW failed 193
Unhandled exception:
ProcessException: %1 is not a valid Win32 application.

Command: C:\Users\Sherin Binu\AppData\Local\Android\sdk\platform-tools\adb.EXE devices -l
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:485)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:631)
#2 Process.runSync (dart:io-patch/process_patch.dart:66)
#3 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:83)
#4 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:321)
#5 runSync (package:flutter_tools/src/base/process.dart:296)
#6 getAdbDevices (package:flutter_tools/src/android/android_device.dart:557)
#7 AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:54)
<asynchronous suspension>
#8 PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
<asynchronous suspension>
#9 DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
<asynchronous suspension>
#10 DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
<asynchronous suspension>
#11 Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12 Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
<asynchronous suspension>
#13 DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:29)
<asynchronous suspension>
#14 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
<asynchronous suspension>
#15 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#16 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#17 _rootRun (dart:async/zone.dart:1126)
#18 _CustomZone.run (dart:async/zone.dart:1023)
#19 runZoned (dart:async/zone.dart:1501)
#20 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#21 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#22 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#23 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
<asynchronous suspension>
#24 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#25 _rootRun (dart:async/zone.dart:1126)
#26 _CustomZone.run (dart:async/zone.dart:1023)
#27 runZoned (dart:async/zone.dart:1501)
#28 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#29 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
<asynchronous suspension>
#30 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#31 new Future.sync (dart:async/future.dart:222)
#32 CommandRunner.run (package:args/command_runner.dart:109)
#33 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
#34 run.<anonymous closure> (package:flutter_tools/runner.dart:59)
<asynchronous suspension>
#35 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#36 _rootRun (dart:async/zone.dart:1126)
#37 _CustomZone.run (dart:async/zone.dart:1023)
#38 runZoned (dart:async/zone.dart:1501)
#39 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#40 runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#41 run (package:flutter_tools/runner.dart:50)
#42 main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#43 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#44 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#45 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Issue 2:
Leafy has been seeing exceptions of this kind sporadically:

java.lang.IllegalStateException
at io.flutter.view.FlutterNativeView$1.reply(FlutterNativeView.java:132)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:194)
at io.flutter.plugins.localauth.LocalAuthPlugin$1.onFailure(LocalAuthPlugin.java:56)
at io.flutter.plugins.localauth.AuthenticationHelper.stop(AuthenticationHelper.java:146)
at io.flutter.plugins.localauth.AuthenticationHelper.access$000(AuthenticationHelper.java:36)
at io.flutter.plugins.localauth.AuthenticationHelper$2.onClick(AuthenticationHelper.java:234)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)

The exceptions always come from the same line (User tapping cancel button on the dialog). We could not reproduce this exception unfortunately. So we have to guard against a flow that we do not fully understand. Luckily the reasoning is simple: If we have stop()ped before, do not stop again. Other plugins implement similar logic (such as google_sign_in).