<p dir="auto">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?</p>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Create a User account with space in it.</li>
<li>run flutter create test_app</li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Running &quot;flutter packages get&quot; 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)
&lt;asynchronous suspension&gt;
#8      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
&lt;asynchronous suspension&gt;
#9      DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
&lt;asynchronous suspension&gt;
#10     DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
&lt;asynchronous suspension&gt;
#11     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12     Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
&lt;asynchronous suspension&gt;
#13     _doctorText.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:194)
#14     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#19     _doctorText (package:flutter_tools/runner.dart:193)
&lt;asynchronous suspension&gt;
#20     _createLocalCrashReport (package:flutter_tools/runner.dart:171)
&lt;asynchronous suspension&gt;
#21     _handleToolError (package:flutter_tools/runner.dart:126)
&lt;asynchronous suspension&gt;
#22     run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:63)
&lt;asynchronous suspension&gt;
#23     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#28     runInContext (package:flutter_tools/src/context_runner.dart:43)
&lt;asynchronous suspension&gt;
#29     run (package:flutter_tools/runner.dart:50)
#30     main (package:flutter_tools/executable.dart:49)
&lt;asynchronous suspension&gt;
#31     main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#32     _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

&lt;!-- If possible, paste the output of running `flutter doctor -v` here. --&gt;
## 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)
&lt;asynchronous suspension&gt;
#8      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
&lt;asynchronous suspension&gt;
#9      DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
&lt;asynchronous suspension&gt;
#10     DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
&lt;asynchronous suspension&gt;
#11     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12     Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
&lt;asynchronous suspension&gt;
#13     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:29)
&lt;asynchronous suspension&gt;
#14     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
&lt;asynchronous suspension&gt;
#15     FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:279)
&lt;asynchronous suspension&gt;
#16     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#21     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#22     CommandRunner.runCommand (package:args/command_runner.dart:194)
&lt;asynchronous suspension&gt;
#23     FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
&lt;asynchronous suspension&gt;
#24     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#29     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
&lt;asynchronous suspension&gt;
#30     CommandRunner.run.&lt;anonymous closure&gt; (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.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:59)
&lt;asynchronous suspension&gt;
#35     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#40     runInContext (package:flutter_tools/src/context_runner.dart:43)
&lt;asynchronous suspension&gt;
#41     run (package:flutter_tools/runner.dart:50)
#42     main (package:flutter_tools/executable.dart:49)
&lt;asynchronous suspension&gt;
#43     main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#44     _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#45     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)"><pre class="notranslate"><code class="notranslate">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)
&lt;asynchronous suspension&gt;
#8      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
&lt;asynchronous suspension&gt;
#9      DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
&lt;asynchronous suspension&gt;
#10     DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
&lt;asynchronous suspension&gt;
#11     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12     Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
&lt;asynchronous suspension&gt;
#13     _doctorText.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:194)
#14     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#19     _doctorText (package:flutter_tools/runner.dart:193)
&lt;asynchronous suspension&gt;
#20     _createLocalCrashReport (package:flutter_tools/runner.dart:171)
&lt;asynchronous suspension&gt;
#21     _handleToolError (package:flutter_tools/runner.dart:126)
&lt;asynchronous suspension&gt;
#22     run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:63)
&lt;asynchronous suspension&gt;
#23     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#28     runInContext (package:flutter_tools/src/context_runner.dart:43)
&lt;asynchronous suspension&gt;
#29     run (package:flutter_tools/runner.dart:50)
#30     main (package:flutter_tools/executable.dart:49)
&lt;asynchronous suspension&gt;
#31     main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#32     _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

&lt;!-- If possible, paste the output of running `flutter doctor -v` here. --&gt;
## 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)
&lt;asynchronous suspension&gt;
#8      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:165)
&lt;asynchronous suspension&gt;
#9      DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:93)
&lt;asynchronous suspension&gt;
#10     DeviceValidator.validate (package:flutter_tools/src/doctor.dart:530)
&lt;asynchronous suspension&gt;
#11     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:88)
#12     Doctor.diagnose (package:flutter_tools/src/doctor.dart:145)
&lt;asynchronous suspension&gt;
#13     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:29)
&lt;asynchronous suspension&gt;
#14     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
&lt;asynchronous suspension&gt;
#15     FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:279)
&lt;asynchronous suspension&gt;
#16     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#21     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#22     CommandRunner.runCommand (package:args/command_runner.dart:194)
&lt;asynchronous suspension&gt;
#23     FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
&lt;asynchronous suspension&gt;
#24     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#29     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
&lt;asynchronous suspension&gt;
#30     CommandRunner.run.&lt;anonymous closure&gt; (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.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:59)
&lt;asynchronous suspension&gt;
#35     AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142)
&lt;asynchronous suspension&gt;
#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)
&lt;asynchronous suspension&gt;
#40     runInContext (package:flutter_tools/src/context_runner.dart:43)
&lt;asynchronous suspension&gt;
#41     run (package:flutter_tools/runner.dart:50)
#42     main (package:flutter_tools/executable.dart:49)
&lt;asynchronous suspension&gt;
#43     main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#44     _startIsolate.&lt;anonymous closure&gt; (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#45     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
</code></pre></div>
<p dir="auto">Leafy has been seeing exceptions of this kind sporadically:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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)"><pre class="notranslate"><code class="notranslate">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)
</code></pre></div>
<p dir="auto">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 <code class="notranslate">stop()</code>ped before, do not stop again. Other plugins implement similar logic (such as google_sign_in).</p>