Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lancet导致库工程里的修改,需要clean后才能run入apk里 #10

Open
buptlzx opened this issue Mar 16, 2018 · 8 comments
Open

Comments

@buptlzx
Copy link

buptlzx commented Mar 16, 2018

使用Lancet后,在library Module里的修改,需要clean后再次run,修改才能加载到APK里
测试后发现,需要删除掉Lancet里的transforms缓存,才可以成功;
麻烦检测下transforms的逻辑是否正确

另外,建议在修复该bug之前,在ReadMe里增加以下文字:
在app的build.gradle下插入以下代码fix该问题
"rm -rf ${project.buildDir}/intermediates/transforms/lancet".execute()

@dieyidezui
Copy link
Contributor

多谢反馈,会尽快检查

@yj512029078
Copy link

同样遇到这个问题。请问这个问题修复了吗?

@dieyidezui
Copy link
Contributor

@yj512029078 Lancet 2.0 正在开发中,具体见 #17

@twlkyao
Copy link
Contributor

twlkyao commented Jan 21, 2019

使用Lancet后,在library Module里的修改,需要clean后再次run,修改才能加载到APK里
测试后发现,需要删除掉Lancet里的transforms缓存,才可以成功;
麻烦检测下transforms的逻辑是否正确

另外,建议在修复该bug之前,在ReadMe里增加以下文字:
在app的build.gradle下插入以下代码fix该问题
"rm -rf ${project.buildDir}/intermediates/transforms/lancet".execute()

加入这个之后还是不行,有别的方法么

@zhangkang19164
Copy link

2020年了,请问该问题修复了吗

@fenglincanyi
Copy link

+1 遇到同样问题,啥时候能修复

@chouchouyu
Copy link

2021年了,请问该问题修复了吗

@chouchouyu
Copy link

2021年了,请问该问题修复了吗

if(is_lancet.toBoolean()) {
    apply plugin: 'me.ele.lancet'
    "rm -rf ${project.buildDir}/intermediates/transforms/lancet".execute()
}

加一行 "rm -rf ${project.buildDir}/intermediates/transforms/lancet".execute(),亲测有效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants