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插件后编译不过 #42

Open
Leiluojun opened this issue Aug 8, 2020 · 6 comments
Open

引入lancet插件后编译不过 #42

Leiluojun opened this issue Aug 8, 2020 · 6 comments

Comments

@Leiluojun
Copy link

Lancet版本:1.0.5

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':App:transformClassesWithLancetForDemoRelease'.

java.lang.ClassCastException: me.ele.lancet.weaver.internal.graph.ClassNode cannot be cast to me.ele.lancet.weaver.internal.graph.InterfaceNode

@tochange
Copy link

我是直接 Cause: java.lang.RuntimeException了 编译时候

@DarkAdventurer93
Copy link

编译时候

我也是

@baoleibai
Copy link

同样问题

@DarkAdventurer93
Copy link

同样问题

拉了一下插件的代码,看了一下是因为gradle版本高的时候asm版本过低(lancet是5.0)导致,我把lancet的asm升级到6.0就可以了
可以查看classgraph/classgraph#218

@lightHater
Copy link

太久没维护了,新gradle引用这个直接编不过了

@DarkAdventurer93
Copy link

太久没维护了,新gradle引用这个直接编不过了

发下com.android.tools.build:gradle版本和gradle-wrapper版本我试试,目前我的还是4.2.1+6.7.1高版本的还未尝试

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

5 participants