<p dir="auto">I'm trying to use fastlane and I'm doing <code class="notranslate">fastlane test</code> and this is the result</p>
<h2 dir="auto">command</h2>
<p dir="auto"><code class="notranslate">flutter build bundle --suppress-analytics --target lib/main.dart --depfile C:\Users\John\AndroidStudioProjects\projectX\build\app\intermediates\flutter\dynamicRelease/snapshot_blob.bin.d --asset-dir C:\Users\John\AndroidStudioProjects\projectX\build\app\intermediates\flutter\dynamicRelease/flutter_assets --release --dynamic</code></p>
<h2 dir="auto">exception</h2>
<p dir="auto"><code class="notranslate">FileSystemException: FileSystemException: Cannot open file, path = 'C:\flutter\bin\cache\artifacts\engine\windows-x64\product_vm_isolate_snapshot.bin' (OS Error: The system cannot find the file specified. , errno = 2)</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0      _File.open.&lt;anonymous closure&gt; (dart:io/file_impl.dart:368:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:486:5)
#7      Future._asyncComplete.&lt;anonymous closure&gt; (dart:async/future_impl.dart:516:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)"><pre class="notranslate"><code class="notranslate">#0      _File.open.&lt;anonymous closure&gt; (dart:io/file_impl.dart:368:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:486:5)
#7      Future._asyncComplete.&lt;anonymous closure&gt; (dart:async/future_impl.dart:516:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
</code></pre></div>
<h2 dir="auto">flutter doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel unknown, v0.9.5, on Microsoft Windows [Version 10.0.17758.4], locale en-CA)
    • Flutter version 0.9.5 at C:\flutter
    • Framework revision 020fd590b0 (6 days ago), 2018-09-26 14:28:26 -0700
    • Engine revision 38a646e14c
    • Dart version 2.1.0-dev.5.0.flutter-4cf2d3990b

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at C:\Users\John\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 28.0.2
    • Dart plugin version 181.5616
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2)
    • IntelliJ at C:\Users\John\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\182.4505.22
    • Flutter plugin version 29.0.4
    • Dart plugin version 182.4323.44

[✓] Connected device (1 available)
    • SGH M919V • d5514710 • android-arm • Android 5.0.1 (API 21)

• No issues found!
```****"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel unknown, v0.9.5, on Microsoft Windows [Version 10.0.17758.4], locale en-CA)
    • Flutter version 0.9.5 at C:\flutter
    • Framework revision 020fd590b0 (6 days ago), 2018-09-26 14:28:26 -0700
    • Engine revision 38a646e14c
    • Dart version 2.1.0-dev.5.0.flutter-4cf2d3990b

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at C:\Users\John\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 28.0.2
    • Dart plugin version 181.5616
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2)
    • IntelliJ at C:\Users\John\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\182.4505.22
    • Flutter plugin version 29.0.4
    • Dart plugin version 182.4323.44

[✓] Connected device (1 available)
    • SGH M919V • d5514710 • android-arm • Android 5.0.1 (API 21)

• No issues found!
```****
</code></pre></div>
<p dir="auto">Hi, I'm adding flutter to an existing app, it works well basically, I can successfully run the hybrid app and <code class="notranslate">assembleDebug/assembleRelease</code> to generate apk files. However when I use <code class="notranslate">./gradlew build</code> command to build the application, it fails with an exception.</p>
<blockquote>
<p dir="auto">Task :flutter:flutterBuildDynamicRelease<br>
Crash report written to /Users/some_path/some_application/flutter_07.log;<br>
please let us know at <a href="https://github.com/flutter/flutter/issues">https://github.com/flutter/flutter/issues</a>.<br>
Task :flutter:flutterBuildDynamicRelease FAILED</p>
</blockquote>
<p dir="auto">The following is what the <code class="notranslate">flutter_07.log</code>says, it's implying me that <code class="notranslate">product_vm_isolate_snapshot.bin</code> cannot be found, I browsed the folder and the file wasn't there.. I downloaded the latest <a href="https://flutter.io/setup-macos/#get-sdk" rel="nofollow">flutter_macos_v0.9.4-beta.zip</a>  and still cannot find <code class="notranslate">product_vm_isolate_snapshot.bin</code>.</p>
<p dir="auto">What should I do?</p>
<p dir="auto">thank you</p>
<hr>
<p dir="auto">flutter_07.log:</p>
<h2 dir="auto">command</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter build bundle --suppress-analytics --target lib/main.dart --depfile /Users/liuchang/Documents/workspace/android/translator_android/translator_flutter/.android/Flutter/build/intermediates/flutter/dynamicRelease/snapshot_blob.bin.d --asset-dir /Users/liuchang/Documents/workspace/android/translator_android/translator_flutter/.android/Flutter/build/intermediates/flutter/dynamicRelease/flutter_assets --release --dynamic"><pre class="notranslate"><code class="notranslate">flutter build bundle --suppress-analytics --target lib/main.dart --depfile /Users/liuchang/Documents/workspace/android/translator_android/translator_flutter/.android/Flutter/build/intermediates/flutter/dynamicRelease/snapshot_blob.bin.d --asset-dir /Users/liuchang/Documents/workspace/android/translator_android/translator_flutter/.android/Flutter/build/intermediates/flutter/dynamicRelease/flutter_assets --release --dynamic
</code></pre></div>
<h2 dir="auto">exception</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FileSystemException: FileSystemException: Cannot open file, path = '/Users/some_path/flutter/bin/cache/artifacts/engine/darwin-x64/**product_vm_isolate_snapshot.bin**' (OS Error: No such file or directory, errno = 2)"><pre class="notranslate"><code class="notranslate">FileSystemException: FileSystemException: Cannot open file, path = '/Users/some_path/flutter/bin/cache/artifacts/engine/darwin-x64/**product_vm_isolate_snapshot.bin**' (OS Error: No such file or directory, errno = 2)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0      _File.open.&lt;anonymous closure&gt; (dart:io/file_impl.dart:368:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:486:5)
#7      Future._asyncComplete.&lt;anonymous closure&gt; (dart:async/future_impl.dart:516:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)"><pre class="notranslate"><code class="notranslate">#0      _File.open.&lt;anonymous closure&gt; (dart:io/file_impl.dart:368:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:486:5)
#7      Future._asyncComplete.&lt;anonymous closure&gt; (dart:async/future_impl.dart:516:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
</code></pre></div>
<h2 dir="auto">flutter doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.4 17E199, locale en-CN)
    • Flutter version 0.9.4 at /Users/liuchang/Documents/workspace/flutter/flutter_macos_v0.7.3-beta
    • Framework revision f37c235c32 (3 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/liuchang/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    ✗ Android license status unknown.

[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected devices (1 available)
    • SM G9500 • 988b5c394548305955 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 2 categories."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.4 17E199, locale en-CN)
    • Flutter version 0.9.4 at /Users/liuchang/Documents/workspace/flutter/flutter_macos_v0.7.3-beta
    • Framework revision f37c235c32 (3 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/liuchang/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    ✗ Android license status unknown.

[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected devices (1 available)
    • SM G9500 • 988b5c394548305955 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 2 categories.
</code></pre></div>