android studio中出现Error:Already finished

本文介绍了一种解决.gradle错误的方法,即通过重启IDE来让系统重新下载gradle,从而修复可能遇到的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

这里写图片描述

困惑如上图

解决:Restart一下即可
这里写图片描述
这里写图片描述

分析:可能是.gradle出错,Restart之后系统帮你重新下载gradle

"D:\DevEcoStudio\DevEco Studio\tools\node\node.exe" "D:\DevEcoStudio\DevEco Studio\tools\hvigor\bin\hvigorw.js" --sync -p product=default --analyze=normal --parallel --incremental --no-daemon Installing pnpm@8.13.1... npm ERR! code EPERM npm ERR! syscall open npm ERR! path D:\node\node_cache\_cacache\tmp\eeb68e0b npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, open 'D:\node\node_cache\_cacache\tmp\eeb68e0b' npm ERR! [Error: EPERM: operation not permitted, open 'D:\node\node_cache\_cacache\tmp\eeb68e0b'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'open', npm ERR! path: 'D:\\node\\node_cache\\_cacache\\tmp\\eeb68e0b' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! Log files were not written due to an error writing to the directory: D:\node\node_cache\_logs npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal > hvigor ERROR: 00308002 Operation Error Error Message: D:\DevEcoStudio\DevEco Studio\tools\node\npm.cmd install,pnpm execute failed. * Try the following: > Space is not supported in HVIGOR_USER_HOME. Remove the space in HVIGOR_USER_HOME to fix the issue. Process finished with exit code -1
最新发布
07-09
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值