收藏
回答

刷脸服务未初始化,如何解决?

1我使用的是 sdk模式,参考的代码:https://git.code.tencent.com/sunnyxxwang/wxpayface-merchant-app-demo

已经按照例子实现了:

WxPayFace.getInstance().initWxpayface


getWxpayfaceRawdata


是出现如下错误: 求大神帮忙

错误:

2020-08-04 13:09:05.984 6142-6142/com.tencent.wxpay.imagefacesign D/WxPayFace: releaseWxpayface

2020-08-04 13:09:05.985 6142-6142/com.tencent.wxpay.imagefacesign E/WxPayFace: releaseWxpayface fail

2020-08-04 13:09:05.985 6142-6142/com.tencent.wxpay.imagefacesign D/IFSFactoryTestActivity: enter | getRawData 

2020-08-04 13:09:05.986 6142-6142/com.tencent.wxpay.imagefacesign D/WxPayFace: tryReconnectService-2: functionName:getWxpayfaceRawdata

2020-08-04 13:09:05.992 6142-6142/com.tencent.wxpay.imagefacesign I/lrm: lrm ------------------ widthPixels: 800; heightPixels: 1208

2020-08-04 13:09:06.025 6142-6159/com.tencent.wxpay.imagefacesign D/GRALLOC-ROCKCHIP: enter, w : 291, h : 66, format : 0x1, usage : 0xb00.

2020-08-04 13:09:06.045 6142-6159/com.tencent.wxpay.imagefacesign D/GRALLOC-ROCKCHIP: enter, w : 291, h : 66, format : 0x1, usage : 0xb00.

2020-08-04 13:09:15.993 6142-6142/com.tencent.wxpay.imagefacesign D/IFSFactoryTestActivity: response | getWxpayfaceRawdata

2020-08-04 13:09:15.994 6142-6142/com.tencent.wxpay.imagefacesign D/IFSFactoryTestActivity: response info :: FAIL | 刷脸服务未初始化

2020-08-04 13:09:16.016 6142-6142/com.tencent.wxpay.imagefacesign W/System.err: java.lang.RuntimeException: 调用返回非成功信息: 刷脸服务未初始化

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.tencent.wxpay.imagefacesign.IFSFactoryTestActivity.isSuccessInfo(IFSFactoryTestActivity.java:556)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.tencent.wxpay.imagefacesign.IFSFactoryTestActivity.access$000(IFSFactoryTestActivity.java:48)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.tencent.wxpay.imagefacesign.IFSFactoryTestActivity$2.response(IFSFactoryTestActivity.java:190)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.tencent.wxpayface.WxPayFace.initErrorCallback(WxPayFace.java:591)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.tencent.wxpayface.WxPayFace.access$100(WxPayFace.java:30)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.tencent.wxpayface.WxPayFace$OverTimeHandler.handleMessage(WxPayFace.java:92)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at android.os.Looper.loop(Looper.java:154)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6141)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at java.lang.reflect.Method.invoke(Native Method)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)

2020-08-04 13:09:16.017 6142-6142/com.tencent.wxpay.imagefacesign W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)

2020-08-04 13:09:16.018 6142-6142/com.tencent.wxpay.imagefacesign I/lrm: lrm ------------------ widthPixels: 800; heightPixels: 1208

2020-08-04 13:09:16.067 6142-6159/com.tencent.wxpay.imagefacesign D/GRALLOC-ROCKCHIP: enter, w : 424, h : 66, format : 0x1, usage : 0xb00.

2020-08-04 13:09:16.073 6142-6159/com.tencent.wxpay.imagefacesign D/GRALLOC-ROCKCHIP: enter, w : 424, h : 66, format : 0x1, usage : 0xb00.


回答关注问题邀请回答
收藏

1 个回答

  • 微信支付技术助手5
    微信支付技术助手5
    2020-08-05

    您好,这个问题,我看您在硬件接入群内有反馈过相同的问题,我们在群内进行解决

    2020-08-05
    有用
    回复 1
    • 曾经
      曾经
      2022-10-11
      wxpayface-merchant-app-demo 都下载不了了
      2022-10-11
      回复
登录 后发表内容
问题标签