gpt4 book ai didi

android - 我可以将 BlackBerry inApp 支付集成到我的 android 应用程序中吗?

转载 作者:行者123 更新时间:2023-11-29 14:15:57 26 4
gpt4 key购买 nike

我正在尝试将应用内购买(从黑莓市场)集成到我的 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 等...

谢谢!

最佳答案

不,你不能这样做。

BlackBerry Java-ME 应用内计费系统使用特定于 BlackBerry Java-ME 平台的类。因此,您甚至无法编译您的应用程序,更不用说运行它了。由于 Android 平台不支持 BlackBerry SDK,您将无法使用 BlackBerry 库进行应用内购买。

相反,您可以使用 Android 自己的 in app purchase system实现相同的功能。

关于android - 我可以将 BlackBerry inApp 支付集成到我的 android 应用程序中吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12913620/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com