1. 程式人生 > >android studio :Timeout waiting to lock daemon addresses registry

android studio :Timeout waiting to lock daemon addresses registry

gist The 錯誤提示 進程管理 try 管理 androi 提示 str

一、開發中 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-repo\daemon\2.14.1\registry.bin.lock

二、解決

D:\gradle-repo\daemon\2.14.1\ 下的 registry.bin.lock 刪除就好了。

刪除的時候會提示文件被占用。開打進程管理器把關於java的進程結束後,在Android Stuido中重新build就可以。

android studio :Timeout waiting to lock daemon addresses registry