paytm集成发布版本构建崩溃



集成Paytm支付sdk后,调试版本工作正常,但从Paytm获得响应时,发布版本崩溃。

if minifyEnabled false means release build working fine, but must need minifyEnabled is true. 
minifyEnabled true means com.pay.project.Paytm.PaytmWebview.a(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:104)

错误日志:

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.pay.project.android.test, PID: 23149 java.lang.NoSuchMethodError: 
No static method wrap(Ljava/lang/Object;)Ljava/lang/Object; in class Lorg/b/c;
or its super classes (declaration of 'org.b.c' appears in 
/data/app/com.pay.project.android.test-1/base.apk) at com.pay.project.Paytm.PaytmWebview.a(Unknown Source) `at android.os.Handler.handleCallback(Handler.java:822)`at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5774)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681)

paytm gradel文件更改为以前版本的paytm,现在工作正常。

相关内容

  • 没有找到相关文章

最新更新