Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.42k stars 807 forks source link

Robust有bug 直接和第三方appsflyer平台冲突 #342

Open huahuadashen opened 5 years ago

huahuadashen commented 5 years ago

这是第三方平台地址 https://www.appsflyer.com/cn/

错误原因: Caused by: java.lang.RuntimeException: cannot find com.appsflyer.r: com.appsflyer.R found in com/appsflyer/r.class at javassist.CtClassType.getClassFile2(CtClassType.java:202) at javassist.CtClassType.getModifiers(CtClassType.java:407) at robust.gradle.plugin.asm.AsmInsertImpl.insertCode(AsmInsertImpl.java:54) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at robust.gradle.plugin.RobustTransform.transform(RobustTransform.groovy:163)

我已经在robust.xml中 配置了 不在”com.appsflyer“包中插入代码也不行

hp-lxx commented 4 years ago

遇到同样的问题和com.geetest

hp-lxx commented 4 years ago

引用的第三方包,换个版本解决。

errysuprayogi commented 4 years ago

I had same issue how to fix this?

sunlinebox commented 3 years ago

I had same issue how to fix this?

sunlinebox commented 3 years ago

找第三方包,换一下版本就可以了,这个就是第三方库的问题。

smuwjs commented 3 years ago

遇到同样的问题,已想到处理办法,看看可行不。 #465