Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error reading contents of build/intermediates/data-binding-compiler/debug/dependent-lib-artifacts directory

Error:Execution failed for task ':syh_library:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug'. failure, see logs for details. Error reading contents of /Users/Rock/workspace/android_workspase/syh-android/Syh/syh_library/build/intermediates/data-binding-compiler/debug/dependent-lib-artifacts directory java.nio.file.NoSuchFileException: /Users/Rock/workspace/android_workspase/syh-android/Syh/syh_library/build/intermediates/data-binding-compiler/debug/dependent-lib-artifacts

like image 432
Rock Guo Avatar asked Jan 08 '18 02:01

Rock Guo


1 Answers

Deleting the .gradle folder of the root project and re-sync gradle worked for me. Unaware of the root cause though.

like image 75
Aravindan U Avatar answered Nov 14 '22 21:11

Aravindan U