android studio :Timeout waiting to lock daemon addresses registry

Posted leihupqrst

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了android studio :Timeout waiting to lock daemon addresses registry相关的知识,希望对你有一定的参考价值。

一、开发中 android studio 突然遇到下面的错误提示:

Error:Timeout waiting to lock daemon addresses registry. It is currently in use by another Gradle instance.

Owner PID: unknown
Our PID: 11300
Owner Operation: unknown
Our operation: 

Lock file: D:gradle-repodaemon2.14.1 egistry.bin.lock

 

二、解决 

D:gradle-repodaemon2.14.1 下的 registry.bin.lock  删除就好了。

删除的时候会提示文件被占用。开打进程管理器把关于java的进程结束后,在Android Stuido中重新build就可以。





以上是关于android studio :Timeout waiting to lock daemon addresses registry的主要内容,如果未能解决你的问题,请参考以下文章

Android Studio:Unable to add window android.view.ViewRootImpl$W@5e2d85a -- permission denied for thi

Android Studio 无法在配备 32 位 Ubuntu 12.04 w/JDK-8 的三星 ARM Chromebook 上加载

错误记录Android Studio 编译报错 ( Execution failed for task ‘:app:kaptDebugKotlin‘. A failure occurred w )

错误记录Android Studio 编译报错 ( Execution failed for task ‘:app:kaptDebugKotlin‘. A failure occurred w )

Android Studio, Firebase W/System.err: org.json.JSONException: Index 0 out of range [0..0)

Android studio报错,Error:Gradle: A problem occurred configuring root project 'MyFuck'.