Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
233 views
in Technique[技术] by (71.8m points)

android - gradle fails with Problems reading data from Binary store error

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?

question from:https://stackoverflow.com/questions/29842239/gradle-fails-with-problems-reading-data-from-binary-store-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...