Android studio:build报错java.io.IOException: Could not delete path……

首先Build-Clean project

    发现报错:Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory

    且不能强行delete掉apk文件;手动gradlew clean也没用

解决方法:关闭Android Studio重启后,再clean project(简单粗暴,然后就可以build啦

posted @ 2022-04-11 11:57  丿君不知  阅读(858)  评论(0编辑  收藏  举报