使用微信刷脸支付sdk的2.12的sdk包,前面获取授权全部正常,但是调用 WxPayFace.getInstance().getWxpayfaceCode失败,并且查看了log,抛出了异常。(亲自测试直接用2.12的sdk包覆盖安装之前的1.3版本,没有问题,将2.12版本做到rom包里面就会有问题)
========================================
2020-04-01 17:38:37 system_app_crash (text, 1227 bytes)
Process: com.tencent.wxpayface
Flags: 0x38c83e45
Package: com.tencent.wxpayface v901 (2.12.104)
Foreground: No
Build: Android/rk3288/rk3288:7.1.2/NHG47K/user.yh.20200331.135110:user/release-keys
java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String com.tencent.wxpayface.KeyWrapper.getIoTKey() (tried Java_com_tencent_wxpayface_KeyWrapper_getIoTKey and Java_com_tencent_wxpayface_KeyWrapper_getIoTKey__)
at com.tencent.wxpayface.KeyWrapper.getIoTKey(Native Method)
at com.tencent.wxpayface.k.a.c.c.b(SourceFile:131)
at com.tencent.wxpayface.k.a.c.c.a(SourceFile:80)
at com.tencent.wxpayface.k.a.c.c.a(SourceFile:55)
at com.tencent.wxpayface.k.a.a.c(SourceFile:249)
at com.tencent.wxpayface.k.a.a.b(SourceFile:220)
at com.tencent.wxpayface.k.a.a.a(SourceFile:179)
at com.tencent.wxpayface.i.c.b(SourceFile:60)
at com.tencent.wxpayface.WxpayFaceApp.b(SourceFile:239)
at com.tencent.wxpayface.WxpayFaceApp.a(SourceFile:82)
at com.tencent.wxpayface.WxpayFaceApp$2.run(SourceFile:217)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
下载更新了,还是一样的效果,依然报错
您好,您这边还需要下载一个aar库:https://share.weiyun.com/52LvhGp