gradle fails with Problems reading data from Binary store error

In my case setting org.gradle.parallel=false flag fixes the issue, but it's not a solution for my project, flag increase CI build time from ~15min to ~45min.


I was working with version 5.x earlier and then I upgraded to 6.0.1 and it resolved the issue. this is how you can upgrade

cd android
./gradlew clean
./gradlew wrapper --gradle-version 6.0.1
./gradlew -v   # to download the new version
cd ..
flutter clean
flutter run   # might take 15 - 20mins for the first time