0

虽然与三星通SDK V1.2.2版本生成APK,我收到以下错误:三星PassSDK V1.2.2 Proguard的问题

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 
Error:(com.samsung.android.sdk.pass.a) that doesn't come with an 
Error:associated EnclosingMethod attribute. This class was probably produced by a 
Error:compiler that did not target the modern .class file format. The recommended 
Error:solution is to recompile the class from source, using an up-to-date compiler 
Error:and without specifying any "-target" type options. The consequence of ignoring 
Error:this warning is that reflective operations on this class will incorrectly 
Error:indicate that it is *not* an inner class. 
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 
Error:(com.samsung.android.sdk.pass.b) that doesn't come with an 
Error:associated EnclosingMethod attribute. This class was probably produced by a 
Error:compiler that did not target the modern .class file format. The recommended 
Error:solution is to recompile the class from source, using an up-to-date compiler 
Error:and without specifying any "-target" type options. The consequence of ignoring 
Error:this warning is that reflective operations on this class will incorrectly 
Error:indicate that it is *not* an inner class. 
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 

有没有人遇到同样的问题?

谢谢。

回答

0

您将需要额外保持EnclosingMethod属性那样:

-keepattributes EnclosingMethod