Android工作室意外锁定文件协议 [英] Android studio unexpected lock file protocol
本文介绍了Android工作室意外锁定文件协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Gradle'ngoma'项目刷新失败
错误:在锁定文件中发现意外的锁定协议。预期3,找到0.
我尝试关闭并重新打开项目,更改文件夹的权限包含项目但没有任何变化。如何解决此错误?
解决方案
进入本地文件项目并搜索.gradle文件夹
清除并重新启动IDE。
Am trying to import an android studio project into a new machine. The import goes on fine and the directories of the project are displayed correctly.However, when i try to build or clean the project, android studio raises the following error
Gradle 'ngoma' project refresh failed
Error:Unexpected lock protocol found in lock file. Expected 3, found 0.
I have tried closing and reopening the project, changing the permissions of the folder containing the projects but nothing is changing. How can I solve this error??
解决方案
Go into your local file project and search for the ".gradle" folder
Erase it and restart your IDE.
这篇关于Android工作室意外锁定文件协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文