<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Ran the Hello World guide, the app crashes when i run it in debug mode. But then i can start app the app normally and everything works fine, but i could not find a way to attach a debugger.</p>
<p dir="auto">I am using a tablet: Lenovo TB3 710I</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception from flutter run: FormatException: Bad UTF-8 encoding 0xb4
dart:convert/utf.dart 558                                  _Utf8Decoder.convert
dart:convert/string_conversion.dart 333                    _Utf8ConversionSink.addSlice
dart:convert/string_conversion.dart 329                    _Utf8ConversionSink.add
dart:convert/chunked_conversion.dart 92                    _ConverterStreamEventSink.add
dart:async/stream_transformers.dart 119                    _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
dart:async/zone.dart 1158                                  _rootRunUnary
dart:async/zone.dart 1037                                  _CustomZone.runUnary
dart:async/zone.dart 932                                   _CustomZone.runUnaryGuarded
dart:async/stream_impl.dart 331                            _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258                            _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768                      _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635                      _StreamController._add
dart:async/stream_controller.dart 581                      _StreamController.add
dart:io-patch/socket_patch.dart 1680                       _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
dart:async/zone.dart 1162                                  _rootRunUnary
dart:async/zone.dart 1037                                  _CustomZone.runUnary
dart:async/zone.dart 932                                   _CustomZone.runUnaryGuarded
dart:async/stream_impl.dart 331                            _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258                            _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768                      _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635                      _StreamController._add
dart:async/stream_controller.dart 581                      _StreamController.add
dart:io-patch/socket_patch.dart 1247                       _RawSocket._RawSocket.&lt;fn&gt;
dart:io-patch/socket_patch.dart 781                        _NativeSocket.issueReadEvent.issue
dart:async/schedule_microtask.dart 41                      _microtaskLoop
dart:async/schedule_microtask.dart 50                      _startMicrotaskLoop
dart:isolate-patch/isolate_patch.dart 96                   _runPendingImmediateCallback
dart:isolate-patch/isolate_patch.dart 149                  _RawReceivePortImpl._handleMessage"><pre class="notranslate"><code class="notranslate">Exception from flutter run: FormatException: Bad UTF-8 encoding 0xb4
dart:convert/utf.dart 558                                  _Utf8Decoder.convert
dart:convert/string_conversion.dart 333                    _Utf8ConversionSink.addSlice
dart:convert/string_conversion.dart 329                    _Utf8ConversionSink.add
dart:convert/chunked_conversion.dart 92                    _ConverterStreamEventSink.add
dart:async/stream_transformers.dart 119                    _SinkTransformerStreamSubscription._handleData
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
dart:async/zone.dart 1158                                  _rootRunUnary
dart:async/zone.dart 1037                                  _CustomZone.runUnary
dart:async/zone.dart 932                                   _CustomZone.runUnaryGuarded
dart:async/stream_impl.dart 331                            _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258                            _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768                      _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635                      _StreamController._add
dart:async/stream_controller.dart 581                      _StreamController.add
dart:io-patch/socket_patch.dart 1680                       _Socket._onData
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;.&lt;fn&gt;
package:stack_trace/src/stack_zone_specification.dart 185  StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 107  StackZoneSpecification._registerUnaryCallback.&lt;fn&gt;
dart:async/zone.dart 1162                                  _rootRunUnary
dart:async/zone.dart 1037                                  _CustomZone.runUnary
dart:async/zone.dart 932                                   _CustomZone.runUnaryGuarded
dart:async/stream_impl.dart 331                            _BufferingStreamSubscription._sendData
dart:async/stream_impl.dart 258                            _BufferingStreamSubscription._add
dart:async/stream_controller.dart 768                      _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData
dart:async/stream_controller.dart 635                      _StreamController._add
dart:async/stream_controller.dart 581                      _StreamController.add
dart:io-patch/socket_patch.dart 1247                       _RawSocket._RawSocket.&lt;fn&gt;
dart:io-patch/socket_patch.dart 781                        _NativeSocket.issueReadEvent.issue
dart:async/schedule_microtask.dart 41                      _microtaskLoop
dart:async/schedule_microtask.dart 50                      _startMicrotaskLoop
dart:isolate-patch/isolate_patch.dart 96                   _runPendingImmediateCallback
dart:isolate-patch/isolate_patch.dart 149                  _RawReceivePortImpl._handleMessage
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">I cant run any flutter command from the IntelliJ terminal.<br>
output:<br>
flutter: command not found</p>
<p dir="auto">Flutter --version output:</p>
<p dir="auto">Flutter • channel master • <a href="https://github.com/flutter/flutter.git">https://github.com/flutter/flutter.git</a><br>
Framework • revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/3150e3fbd477e9dc21a9f027f14a32cdae5d79f7/hovercard" href="https://github.com/flutter/flutter/commit/3150e3fbd477e9dc21a9f027f14a32cdae5d79f7"><tt>3150e3f</tt></a> (2 hours ago) • 2017-01-13 12:46:13<br>
Engine • revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/b3ed79122edd7172327ce415688ef674d6a7fa5d/hovercard" href="https://github.com/flutter/flutter/commit/b3ed79122edd7172327ce415688ef674d6a7fa5d"><tt>b3ed791</tt></a><br>
Tools • Dart 1.21.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>cd <code class="notranslate">/examples/hello_world/</code></li>
<li>connect a physical Android device</li>
<li><code class="notranslate">flutter run</code></li>
</ol>
<p dir="auto">Output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mit-macbookpro2:hello_world mit$ flutter run -d 00ca05b380789730
Launching lib/main.dart on Nexus 5X in debug mode...
Exception from flutter run: FormatException: Bad UTF-8 encoding 0xff
dart:isolate  _RawReceivePortImpl._handleMessage

Building APK in debug mode (android-arm)...         5081ms
Installing build/app.apk...                         2435ms
Syncing files to device...                          3968ms"><pre class="notranslate"><code class="notranslate">mit-macbookpro2:hello_world mit$ flutter run -d 00ca05b380789730
Launching lib/main.dart on Nexus 5X in debug mode...
Exception from flutter run: FormatException: Bad UTF-8 encoding 0xff
dart:isolate  _RawReceivePortImpl._handleMessage

Building APK in debug mode (android-arm)...         5081ms
Installing build/app.apk...                         2435ms
Syncing files to device...                          3968ms
</code></pre></div>
<p dir="auto">Running on an Android or iOS simulator does not throw the exception!</p>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">Paste the output of running <code class="notranslate">flutter doctor</code> here.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter doctor
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/mit/dev/github/flutter
    • Framework revision 3a43fc88b6 (5 hours ago), 2017-01-31 23:32:10
    • Engine revision 2d54edf0f9
    • Tools Dart version 1.22.0-dev.9.1

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
    • Android SDK at /Users/mit/Library/Android/sdk
    • Platform android-25, build-tools 25.0.0
    • ANDROID_HOME = /Users/mit/Library/Android/sdk
    • Java(TM) SE Runtime Environment (build 1.8.0_112-b16)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002

[✓] IntelliJ IDEA Ultimate Edition (version 2016.3.4)
    • Dart plugin version 163.12753
    • Flutter plugin version 0.1.8.1

[✓] Connected devices
    • Nexus 5X                  • 00ca05b380789730 • android-arm • Android 7.0 (API 24)
    • Android SDK built for x86 • emulator-5554    • android-x86 • Android 6.0 (API 23) (emulator)
$"><pre class="notranslate"><code class="notranslate">$ flutter doctor
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/mit/dev/github/flutter
    • Framework revision 3a43fc88b6 (5 hours ago), 2017-01-31 23:32:10
    • Engine revision 2d54edf0f9
    • Tools Dart version 1.22.0-dev.9.1

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
    • Android SDK at /Users/mit/Library/Android/sdk
    • Platform android-25, build-tools 25.0.0
    • ANDROID_HOME = /Users/mit/Library/Android/sdk
    • Java(TM) SE Runtime Environment (build 1.8.0_112-b16)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002

[✓] IntelliJ IDEA Ultimate Edition (version 2016.3.4)
    • Dart plugin version 163.12753
    • Flutter plugin version 0.1.8.1

[✓] Connected devices
    • Nexus 5X                  • 00ca05b380789730 • android-arm • Android 7.0 (API 24)
    • Android SDK built for x86 • emulator-5554    • android-x86 • Android 6.0 (API 23) (emulator)
$
</code></pre></div>