Blog

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.

* Where:

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

Solution:

  1. Open solution folder, remove the build folder
  2. Rerun F5 application

Changing the size of emulator memory as a result of INSTALL_FAILED_INSUFFICIENT_STORAGE error message.

Step 1 Edit Configuration files

Locate the configuration files by opening the directory for the particular emulator.  Ensure that the emulator is ‘stopped’ before proceeding.

image

  • Edit hardware-qemu.ini file
    Before
    disk.dataPartition.size = 550m
    After
    disk.dataPartition.size = 8192m

  • Edit config.ini (change to the following)
    disk.dataPartition.size=8192M

Step 2 Factory Reset the emulator before booting the emulator, start up.

image

Step 3 Start up emulator and take a look at storage now.

image

About Us

Web/Mobile Solutions

Useful Links

Our Contacts

Cincinnati, OH 45069