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

插完桩,俩类丢了,看着是这里出了问题 #6

Closed
xiaojianli opened this issue Mar 19, 2024 · 7 comments
Closed

插完桩,俩类丢了,看着是这里出了问题 #6

xiaojianli opened this issue Mar 19, 2024 · 7 comments

Comments

@xiaojianli
Copy link

ArouterGradlePlugin task start:
[Warning] Merge [jar:entry] D:\AndroidProject\Work\SmartQrcode\creator\build\.transforms\c5a19e8ae28b59859061830678217fc8\transformed\classes.jar:com/alibaba/android/arouter/routes/ARouter$$Group$$creator$1.class, error is java.lang.UnsupportedOperationException: NestHost requires ASM7 
[Warning] Merge [jar:entry] D:\AndroidProject\Work\SmartQrcode\creator\build\.transforms\c5a19e8ae28b59859061830678217fc8\transformed\classes.jar:com/alibaba/android/arouter/routes/ARouter$$Group$$creator.class, error is java.lang.UnsupportedOperationException: NestMember requires ASM7 
[Warning] Merge [jar:entry] D:\AndroidProject\Work\SmartQrcode\base\barcode-info\build\.transforms\ac20f8e6f3032861d032417dfc70c58f\transformed\classes.jar:com/alibaba/android/arouter/routes/ARouter$$Group$$barcode$1.class, error is java.lang.UnsupportedOperationException: NestHost requires ASM7 
[Warning] Merge [jar:entry] D:\AndroidProject\Work\SmartQrcode\base\barcode-info\build\.transforms\ac20f8e6f3032861d032417dfc70c58f\transformed\classes.jar:com/alibaba/android/arouter/routes/ARouter$$Group$$barcode.class, error is java.lang.UnsupportedOperationException: NestMember requires ASM7 
@xiaojianli xiaojianli changed the title 插完装,俩类丢了,看着是这里出了问题 插完桩,俩类丢了,看着是这里出了问题 Mar 19, 2024
@xiaojianli
Copy link
Author

Compiler 使用 ksp 'com.github.JailedBird:ArouterKspCompiler:1.9.20-1.0.7 ' 貌似解决了

@JailedBird
Copy link
Owner

Compiler 使用 ksp 'com.github.JailedBird:ArouterKspCompiler:1.9.20-1.0.7 ' 貌似解决了

麻烦确认下是 注解处理生成代码 阶段就缺失了? 还是 插装没插上导致的缺失?

@xiaojianli
Copy link
Author

注解处理器生成类的内容没问题
从ArouterGradlePlugin 的log看,应该是插桩的时候出的问题
NestHost requires ASM7
ASM的版本不匹配应该是

@JailedBird
Copy link
Owner

注解处理器生成类的内容没问题 从ArouterGradlePlugin 的log看,应该是插桩的时候出的问题 NestHost requires ASM7 ASM的版本不匹配应该是

代码里面是ASM5,我抽空改改

@JailedBird
Copy link
Owner

麻烦试一下 1.0.2-beta01
代码使用ASM5->ASM7
cd9270c

@JailedBird
Copy link
Owner

注解处理器生成类的内容没问题 从ArouterGradlePlugin 的log看,应该是插桩的时候出的问题 NestHost requires ASM7 ASM的版本不匹配应该是

可以用新版本试试么? 可以的话,麻烦反馈下结论;感谢

@JailedBird
Copy link
Owner

没得问题,三天后我关闭了哈🤣

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

2 participants