我正在尝试将应用内购买(来自黑莓市场)集成到我的 android 应用程序中。当我将此库“ paymentapi.jar ”导入我的项目并运行它时,我收到以下警告/错误:
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.blackberry.api.paymentsdk.a) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.blackberry.api.paymentsdk.digitalGoods.a) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.blackberry.api.paymentsdk.paymentInstruments.a) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.blackberry.api.paymentsdk.paymentInstruments.b) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.blackberry.api.paymentsdk.purchaseHistory.a) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.a.a.a.b) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.a.a.a.c) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.a.a.a.d) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.a.a.a.e) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.a.a.a.f) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.a.a.a.i) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.rimlib.a.a.a.k) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx
EXCEPTION FROM SIMULATION:
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx local variable type mismatch: attempt to set or access a value of type java.lang.Object using a local variable of type boolean. This is symptomatic of .class transformation tools that ignore local variable information.
[2012-10-12 15:28:43 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx ...at bytecode offset 00000013
locals[0000]: I
locals[0001]: Lnet/rim/device/api/system/CodeSigningKey;
stack[top0]: I
...while working on block 0012
...while working on method b:(I)Z
...while processing b (I)Z
...while processing net/rimlib/a/a/b/b.class
[2012-10-12 15:28:55 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Dx 1 error; aborting
[2012-10-12 15:28:55 - com.jcentricity.forecastica.lite.activity.LoginActivity_BlackBerry] Conversion to Dalvik format failed with error 1
我尝试了很多“干净的项目”、“java 构建路径”、关闭 Eclipse 等...
谢谢!