Execution failed for task ‘:app:flutterBuildDebug’

Errors occur. This one was perplexing but was quickly resolved. Using Flutter and getting 'dependency file' error. Check it out.

- June 3, 2018

Rest of the Story:

Suddenly I have this error. I thought it was something I had inadvertently injected into my code. Solution below…

Error reading dependency file C:{path to project}\build\app\intermediates\flutter\debug\snapshot_blob.bin.d: java.lang.ArrayIndexOutOfBoundsException: 1

Oops; flutter has exited unexpectedly.

Crash report written to C:{path to project}\flutter_11.log;
please let us know at https://github.com/flutter/flutter/issues.
FAILURE: Build failed with an exception.

Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 435

What went wrong:
Execution failed for task ':app:flutterBuildDebug'.

Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1


  • Open solution folder, remove the build folder
  • Rerun F5 application