I have a Gradle file that runs the tests. It does not build anything. All it has is a unzip task that extracts all jars in a Gradle configuration into a particular directory and then runs the task of type Test. This test task points the testClasses directory to the location where the previous copy task has extracted the configuration into.
My build fails with the error message:
Problems reading data from Binary store
When I run 'gradle dependencies' it does not show any error/warning When I run the copy task individually, it runs very well fine. Only when I run everything it fails with error :
> Could not resolve all dependencies for configuration ':testConfig'.$ > Problems reading data from Binary store in /tmp/gradle8793563212642185736.bin (exist: false)$
I see the file /tmp/gradle8793563212642185736.bin
does not exist. What could be the reason for this?
Fix your gradle version as per your sdk. Whatever the API (23 or less) you are using, find the gradle version and update the gradle. properties files in your project folder then sync again. For Rendering error - Go to gradleBuid and check the AppCompat dependency version.
In Android Studio, go to File > Project Structure. Then select the "project" tab on the left. Your Gradle version will be displayed here.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With