I want to use Volley in my next project. So I imported it by adding
compile 'com.mcxiaoke.volley:library:1.0.19'
this line in build.gradle file.
But as soon as I sync the gradle again and try to run the app
Error:Execution failed for task ':app:compileDebugJavaWithJavac'. Could not open local class set analysis write cache (C:\Users\Vaibhav\AndroidStudioProjects\Volley.gradle\3.3\tasks_app_compileDebugJavaWithJavac\localClassSetAnalysis). Unexpected lock protocol found in lock file. Expected 3, found 0.
this error comes up.I have tried every possible solution like
deleting my .gradle folder,Building Clean Project,Invalidates/Caches Restart
This image shows the error as well as code