通过离线打包集成的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 ...