AS报错Error:Unexpected lock protocol found in lock file. Expected 3, found 49.
2017-05-09 21:53
274 查看
转载自:http://www.cnblogs.com/cjyboy/p/6230159.html
关于这个错误,今天研究了两三个小时的时间,查看网上的教程都解决不了问题,后来发现是自己的文件目录导入的有问题。
现在把自己关于解决这个问题的详细步骤说明一下。
(1)首先,你先查看一下自己导入文件的目录有没有错误。(最好就是目录中不带有中文)
(2)先试着从新启动一下:
(4)重启之后没有解决问题的,那么要把C盘用户目录下的 .gradle文件夹删除。可能提示你部分文件无法删除,正在使用中,那么你就要去任务管理器里面把对应的服务关掉,要是你不会,也可以重新启动电脑,之后,这个文件应该就可以完全删除了。
(5)删除 .gradle这个文件之后,重新执行一下步骤(1)。错误就应该会解决了。祝你好运。。。。。。。
关于这个错误,今天研究了两三个小时的时间,查看网上的教程都解决不了问题,后来发现是自己的文件目录导入的有问题。
现在把自己关于解决这个问题的详细步骤说明一下。
(1)首先,你先查看一下自己导入文件的目录有没有错误。(最好就是目录中不带有中文)
(2)先试着从新启动一下:
(4)重启之后没有解决问题的,那么要把C盘用户目录下的 .gradle文件夹删除。可能提示你部分文件无法删除,正在使用中,那么你就要去任务管理器里面把对应的服务关掉,要是你不会,也可以重新启动电脑,之后,这个文件应该就可以完全删除了。
(5)删除 .gradle这个文件之后,重新执行一下步骤(1)。错误就应该会解决了。祝你好运。。。。。。。
相关文章推荐
- rootfs问题:CLEANMARKER node found at 0x0042c000 has totlen 0xc != normal 0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- ReactNative--坑--'React/RCTBridgeModule.h' file not found
- 编译安装MYSQL,遇到configure: error: No curses/termcap library found的解决方法!
- directory not found for option
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- android 升级ADT到22后,出现bug: Could not find class,或者Caused by: java.lang.ClassNotFoundException:异常
- [解决]dyld: Library not loaded: @rpath/libswiftCore.dylib / Image not found
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- ./configure时提示错误 configure: error: no acceptable C compiler found in $PATH
- 启动tomcat报异常:java.lang.ClassNotFoundException: javax.xml.rpc.*
- 一般开启Tomcat找不到类, java.lang.ClassNotFoundException:
- The JRE could not be found. Edit the server and change the JRE location.
- 升级Xcode7-directory not found for option
- launch failed.Binary not found in Linux/Ubuntu解决方案
- ipp "No dlls were found in the Waterfall procedure"
- Caused by: java.lang.ClassNotFoundException: org.hibernate.impl.SessionImpl
- 安装gensim 结果NotFoundError: no lapack/blas resources found
- android.content.ActivityNotFoundException: No Activity found to handle Intent 的错误
- xcode7下面出现“Reason: image not found”解决办法