<p dir="auto">When trying to create an Isolate in <code class="notranslate">--debug</code> mode the Dart VM is unable to fetch the Dart source code for the new Isolate.</p>
<p dir="auto">The error is thrown when tapping the <code class="notranslate">Start</code> button in the <code class="notranslate">services/isolate.dart</code> example.</p>
<p dir="auto">This issue was previously reported as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176214336" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/5814" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/5814/hovercard" href="https://github.com/flutter/flutter/issues/5814">#5814</a> and was partially fixed to work in <code class="notranslate">--release</code> mode but is still failing in the default <code class="notranslate">--debug</code> mode (for different reasons since the earlier fix).</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter/examples/layers$ flutter run -t services/isolate.dart 
Building APK in debug mode (android-arm)...              
Warning: signing the APK using the debug keystore.
Built build/app.apk (8.7MB).
Launching loader on Nexus 5X...
--------- beginning of main
Observatory listening on http://127.0.0.1:34521
Diagnostic server listening on http://127.0.0.1:41805
Updating assets...                                   0.2s
Syncing files to device...                               
Scanning project files...                            0.1s
Scanning package files...                            0.5s
Scanning asset files...                              0.0s
Scanning for deleted files...                        0.0s
No files to remove.
Updating files...                                    3.2s
Synced 5.7MB.
Connected to view '_flutterView/0xe272bb80'.
Running services/isolate.dart on Nexus 5X...
Application running.
Type &quot;h&quot; or F1 for this help message; type &quot;q&quot;, F10, or ctrl-c to quit.
Type &quot;r&quot; or F5 to perform a hot reload of the app, and &quot;R&quot; to restart the app.
Type &quot;w&quot; to print the widget hierarchy of the app, and &quot;t&quot; for the render tree.
Finishing file synchronization...
Syncing files to device...                               
Scanning project files...                            0.0s
Scanning package files...                            0.3s
Scanning asset files...                              0.0s
Scanning for deleted files...                        0.0s
No files to remove.
Updating files...                                        
E/flutter : [ERROR:../../flutter/assets/unzipper_provider.cc(16)] Unable to open zip file: /data/user/0/io.flutter.examples.Layers/cache/layerskphtff/services/isolate.dart
F/flutter : [FATAL:../../flutter/runtime/dart_init.cc(254)] Check failed: zip_asset_store-&gt;GetAsBuffer(kSnapshotAssetKey, &amp;snapshot_data). 
--------- beginning of crash
W/ActivityManager:   Force finishing activity io.flutter.examples.Layers/org.domokit.sky.shell.SkyActivity
W/ActivityManager:   Force finishing activity io.flutter.examples.Layers/org.domokit.sky.shell.SkyActivity
W/ActivityManager: Duplicate finish request for ActivityRecord{6531d4d u0 io.flutter.examples.Layers/org.domokit.sky.shell.SkyActivity t99 f}
Application finished."><pre class="notranslate"><code class="notranslate">flutter/examples/layers$ flutter run -t services/isolate.dart 
Building APK in debug mode (android-arm)...              
Warning: signing the APK using the debug keystore.
Built build/app.apk (8.7MB).
Launching loader on Nexus 5X...
--------- beginning of main
Observatory listening on http://127.0.0.1:34521
Diagnostic server listening on http://127.0.0.1:41805
Updating assets...                                   0.2s
Syncing files to device...                               
Scanning project files...                            0.1s
Scanning package files...                            0.5s
Scanning asset files...                              0.0s
Scanning for deleted files...                        0.0s
No files to remove.
Updating files...                                    3.2s
Synced 5.7MB.
Connected to view '_flutterView/0xe272bb80'.
Running services/isolate.dart on Nexus 5X...
Application running.
Type "h" or F1 for this help message; type "q", F10, or ctrl-c to quit.
Type "r" or F5 to perform a hot reload of the app, and "R" to restart the app.
Type "w" to print the widget hierarchy of the app, and "t" for the render tree.
Finishing file synchronization...
Syncing files to device...                               
Scanning project files...                            0.0s
Scanning package files...                            0.3s
Scanning asset files...                              0.0s
Scanning for deleted files...                        0.0s
No files to remove.
Updating files...                                        
E/flutter : [ERROR:../../flutter/assets/unzipper_provider.cc(16)] Unable to open zip file: /data/user/0/io.flutter.examples.Layers/cache/layerskphtff/services/isolate.dart
F/flutter : [FATAL:../../flutter/runtime/dart_init.cc(254)] Check failed: zip_asset_store-&gt;GetAsBuffer(kSnapshotAssetKey, &amp;snapshot_data). 
--------- beginning of crash
W/ActivityManager:   Force finishing activity io.flutter.examples.Layers/org.domokit.sky.shell.SkyActivity
W/ActivityManager:   Force finishing activity io.flutter.examples.Layers/org.domokit.sky.shell.SkyActivity
W/ActivityManager: Duplicate finish request for ActivityRecord{6531d4d u0 io.flutter.examples.Layers/org.domokit.sky.shell.SkyActivity t99 f}
Application finished.
</code></pre></div>
<p dir="auto">Here is my <code class="notranslate">flutter doctor</code> output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Linux, channel master)
    • Flutter at /home/lex/projects/flutter
    • Framework revision 2a81391915 (2 days ago), 2016-09-16 23:22:20
    • Engine revision e4121f80a9
    • Tools Dart version 1.20.0-dev.5.0

[✓] Android toolchain - develop for Android devices (Android SDK 19.1.0)
    • Android SDK at /home/lex/projects/Android/Sdk
    • Platform android-19, build-tools 19.1.0
    • OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)

[✓] Atom - a lightweight development environment for Flutter
    • flutter plugin version 0.2.4
    • dartlang plugin version 0.6.37

[✓] Connected devices
    • Nexus 5X • 00dd4847616ed5cd • android-arm"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Linux, channel master)
    • Flutter at /home/lex/projects/flutter
    • Framework revision 2a81391915 (2 days ago), 2016-09-16 23:22:20
    • Engine revision e4121f80a9
    • Tools Dart version 1.20.0-dev.5.0

[✓] Android toolchain - develop for Android devices (Android SDK 19.1.0)
    • Android SDK at /home/lex/projects/Android/Sdk
    • Platform android-19, build-tools 19.1.0
    • OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)

[✓] Atom - a lightweight development environment for Flutter
    • flutter plugin version 0.2.4
    • dartlang plugin version 0.6.37

[✓] Connected devices
    • Nexus 5X • 00dd4847616ed5cd • android-arm
</code></pre></div>
<ul dir="auto">
<li>ubuntu 17.04</li>
</ul>
<br>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/21167871/33302423-e836c298-d436-11e7-9e95-554be98368c2.png"><img src="https://user-images.githubusercontent.com/21167871/33302423-e836c298-d436-11e7-9e95-554be98368c2.png" alt="flutter-error" style="max-width: 100%;"></a></p>