在xshell本地连接服务器时候,编译终端突然断网,然后再次登录时候,编译时报错,如下:
Waiting up to 10s to lock out/.lock to ensure no other Soong process is running in the same output directory
start build android
19:15:39 Waiting up to 10s to lock out/.lock to ensure no other Soong process is running in the same output directory
19:15:49 Tried to lock out/.lock, but timed out polling every 1s until 10s . Make sure no other Soong process is using it
#### failed to build some targets (10 seconds) ####
19:15:49 Waiting up to 10s to lock out/.lock to ensure no other Soong process is running in the same output directory
19:15:59 Tried to lock out/.lock, but timed out polling every 1s until 10s . Make sure no other Soong process is using it
#### failed to build some targets (10 seconds) ####
Build android failed!
分析: 应该是前面创建的编译终端,相关
解决方法:删除out目录下的.lock文件
rm out/.lock