错误原因:
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)
这是第三方平台地址 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“包中插入代码也不行