AS报错Error:Unexpected lock protocol found in lock file. Expected 3, found 49.
来源:互联网 发布:淘宝退款多久到账 编辑:程序博客网 时间:2024/05/17 22:48
转载自:http://www.cnblogs.com/cjyboy/p/6230159.html
关于这个错误,今天研究了两三个小时的时间,查看网上的教程都解决不了问题,后来发现是自己的文件目录导入的有问题。
现在把自己关于解决这个问题的详细步骤说明一下。
(1)首先,你先查看一下自己导入文件的目录有没有错误。(最好就是目录中不带有中文)
(2)先试着从新启动一下:
(4)重启之后没有解决问题的,那么要把C盘用户目录下的 .gradle文件夹删除。可能提示你部分文件无法删除,正在使用中,那么你就要去任务管理器里面把对应的服务关掉,要是你不会,也可以重新启动电脑,之后,这个文件应该就可以完全删除了。
(5)删除 .gradle这个文件之后,重新执行一下步骤(1)。错误就应该会解决了。祝你好运。。。。。。。
0 0
- AS报错Error:Unexpected lock protocol found in lock file. Expected 3, found 49.
- Androidstudio重启后错误:Error:Unexpected lock protocol found in lock file. Expected 3, found 0.
- fatal error C1071: unexpected end of file found in comment
- VS2012 error C1071: unexpected end of file found in comment
- 使用VC6.0编译C++代码的时候报错:fatal error C1071: unexpected end of file found in comment(Mark ZZ)
- Unexpected text found in layout file: """
- Unexpected text found in layout file: """
- Unexpected text found in layout file: """
- Unexpected text found in layout file: """
- Unexpected text found in layout file: """
- unexpected end of file found in comment
- unexpected end of file found in comment
- Unexpected text found in layout file
- Warning: Unexpected text found in layout file....
- unexpected text found in layout file
- lucene 错误 no segments* file found in org.apache.lucene.store.FSDirectory@ write.lock
- VS2013,fatal error C1071: unexpected end of file found in comment
- as编译报错"Task '' not found in root project '***'."
- 一、以太坊客户端
- 动态规划算法分析及实例——求解完全背包问题(java实现)
- word不能在任务栏显示所有窗口---问题处理
- 从输入url到页面展示到底发生了什么
- 解决img父元素高度多出3px
- AS报错Error:Unexpected lock protocol found in lock file. Expected 3, found 49.
- Netty里面的Boss和Worker【Server篇】
- 任务管理器灰色不可用
- Python实现打印汉字
- leetcode:486. Predict the Winner
- 揭秘ECMAScript参数值传递与“引用”传递
- 关于生活和学习的一点思考
- 简化比较分数的大小
- windows cmd窗口adb logcat 查看中文输出乱码