我刚刚更新了android studio和gradle,但是现在当我尝试运行应用程序时出现以下错误:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not open local jar classpath snapshot write cache (C:\Users\Richi\Documents\Android Studio Project\AppMaster\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot).
> Unexpected lock protocol found in lock file. Expected 3, found 0.
不确定最新情况!!
答案 0 :(得分:1)
删除.gradle文件夹并重启android studio。