举止优雅的猪
举止优雅的猪
  • 发布:2023-10-03 21:19
  • 更新:2024-10-12 16:28
  • 阅读:315

离线打包集成paypal的SDK,吊起支付报错

分类:uni-app

通过离线打包集成的paypalSDK,由uniapp中调起报错,不通过离线打包只通过云打包配置时正常
通过原生debug,是执行到payment-paypal-release包中CheckoutConfig config = new CheckoutConfig()时中断。
请问该如何解决

报错:
DCloud_Exception co.xmindtech.en W FeatureMgr.processEvent

java.lang.NoSuchMethodError: No direct method <init>(Landroid/app/Application;Ljava/lang/String;Lcom/paypal/checkout/config/Environment;Lcom/paypal/checkout/createorder/CurrencyCode;Lcom/paypal/checkout/createorder/UserAction;Lcom/paypal/checkout/config/PaymentButtonIntent;Lcom/paypal/checkout/config/SettingsConfig;Ljava/lang/String;)V in class Lcom/paypal/checkout/config/CheckoutConfig; or its super classes (declaration of 'com.paypal.checkout.config.CheckoutConfig' appears in /data/app/co.xmindtech.en-kwHuEj5MQjqDrhWcHA_Byw==/base.apk!classes3.dex)
at io.dcloud.feature.payment.paypal.PaypalPay.request(PaypalPay.java:131)
at ...

2023-10-03 21:19 负责人:无 分享
已邀请:
Eupotia

Eupotia - 道阻且长,行则将至。

我这本地的基座连PayPal都唤不起来, 用云打包的可以,真是奇怪

  • l***@topbs.co

    你好 我也是的 请问解决了吗

    2024-11-21 13:47

要回复问题请先登录注册