-
Notifications
You must be signed in to change notification settings - Fork 265
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
无法编译通过 Error:Execution failed for task ':app:transformClassesWithAspectTransformForDebugTest'. > ABORT #11
Comments
@xiayouli0122 这是 |
加上 但是 运行报错 java.lang.NoSuchMethodError: No static method aspectOf()Lcom/jkb/fragment/rigger/aop/AspectPuppetActivity; in class Lcom/jkb/fragment/rigger/aop/AspectPuppetActivity; or its super classes (declaration of 'com.jkb.fragment.rigger.aop.AspectPuppetActivity' appears in /data/app/com.hax.dlm-1/base.apk:classes27.dex) |
@xiayouli0122 这还是属于AsPectJ插件的问题。。目前是使用第三方的 |
没有找到解决办法 后面再看看有什么其他解决办法 |
关于Fragment覆盖问题! 当一个MainFragment 里面添加2个子Fragment1, fragment2通过 show 来切换显示它们在fragment2 中start fragment3 , fragment3中调用了系统设置界面(MainActivity 会走onActivityResult方法),从fragment3中退出后,应该显示fragment2 ,但是出现fragment1 覆盖在fragment2上这种情况! |
@ViewMikeZhou Fragment的hide/show状态是自管理的,不会发生重叠的哦,请确认是否发生 |
说实话AspectJ是个坑,我以前用了,发现很多库冲突,特别是gradle插件,分分钟给你编译不通过,简直是噩梦,建议去掉这个框架 |
@VipMinF 这个库就是要用 aspectj 实现无侵入拓展的,去掉不是等价于失去灵魂了吗 |
@LinXueyuanStdio aspectj 只是实现 AOP 的一种方式,之后会尝试不依赖 aspectj 实现 AOP |
Error:Execution failed for task ':app:transformClassesWithAspectTransformForDebugTest'. > ABORT
似乎跟环信SDK冲突?
ABORT
org.aspectj.weaver.BCException: Whilst processing type 'Lcom/hyphenate/chat/EMCallManager$EMCallType;' - cannot cast the outer type to a reference type. Signature=Lcom/hyphenate/chat/EMCallManager; toString()=com.hyphenate.chat.EMCallManager class=EMCallManager
when processing type mungers
when weaving
when batch building BuildConfig[null] #Files=0 AopXmls=#0
The text was updated successfully, but these errors were encountered: