Android Studio Gradle fails to build -
i facing problem few days. when try build project gradle thorws message. cleaned project re downloaded dependencies still problem has not solved.
help me find out fix.
error message
:app:dexdebug error:org.gradle.api.internal.changedetection.state.defaultfilecollectionsnapshotter$filecollectionsnapshotimpl cannot cast org.gradle.api.internal.changedetection.state.outputfilescollectionsnapshotter$outputfilessnapshot possible causes unexpected error include:<ul><li>gradle's dependency cache may corrupt (this occurs after network connection timeout.) <a href="syncproject">re-download dependencies , sync project (requires network)</a></li><li>the state of gradle build process (daemon) may corrupt. stopping gradle daemons may solve problem. <a href="stopgradledaemons">stop gradle build processes (requires restart)</a></li></ul>in case of corrupt gradle processes, can try closing ide , killing java processes.
similar problem one:similiar question on stackoverflow
i solved problem following answer. hope you, too.
Comments
Post a Comment