HuolalaTech / hll-wp-therouter-android

A framework for assisting in the renovation of Android componentization(帮助 App 进行组件化改造的动态路由框架)
https://therouter.cn/
Apache License 2.0
1.1k stars 129 forks source link

Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory. #156

Closed liuyaxi closed 6 months ago

liuyaxi commented 6 months ago

clean项目的时候会报如下错误 QQ截图20240326163437 直接运行的时候会报如下错误 微信图片_20240326163153

liuyaxi commented 6 months ago

buildscript { dependencies { classpath 'com.android.tools.build:gradle:7.4.2' classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20' classpath 'com.tencent.vasdolly:plugin:3.0.6' classpath "cn.therouter:plugin:1.2.1" classpath 'com.huawei.agconnect:agcp:1.7.3.300' classpath 'com.github.qq549631030:android-junk-code:1.1.2' classpath 'io.github.FlyJingFish.AndroidAop:android-aop-plugin:1.4.2' } } plugins { // id 'org.jetbrains.kotlin.android' version '1.8.0' apply false id 'com.google.devtools.ksp' version '1.8.0-1.0.9' apply false }

gradle 7.5
android 工具版本(最新稳定版) QQ截图20240326163700

arouter = { module = "cn.therouter:router", version = "1.2.1" } arouterCompiler = { module = "cn.therouter:apt", version = "1.2.1" }

liuyaxi commented 6 months ago

jdk版本是17

kymjs commented 6 months ago

两个解决办法: