proguard找不到参考方法

时间:2013-07-30 12:26:41

标签: java obfuscation proguard

我该如何解决这个警告?

下面引用的“invoke”方法,

public final native Object invoke(Object[] paramArrayOfObject) throws Throwable;

所以,我必须忽略这一点(只是我的意见)。但忽略警告没有帮助

有人知道怎么忽略这个警告吗?

ProGuard, version 4.9
Reading program jar [C:\Users\Las Plagas\Desktop\wbsys.jar]
Reading library jar [C:\Program Files\Java\jre7\lib\rt.jar]
Warning: WebAnalysisMain: can't find referenced method 'void invoke(java.lang.Class)' in class java.lang.invoke.MethodHandle
Warning: there were 1 unresolved references to program class members.
     Your input classes appear to be inconsistent.
     You may need to recompile the code or update the library versions.
     Alternatively, you may have to specify the option 
     '-dontskipnonpubliclibraryclassmembers'.
Please correct the above warnings first.

0 个答案:

没有答案