收藏
回答

使用andriod插件化调用微信支付无响应

本人在开发sdk使用插件化的时候 按照流程接入微信支付 结果打印日志


2019-11-28 15:16:22.257 726-799/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only

2019-11-28 15:16:22.269 23161-23161/? W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@38b689c

2019-11-28 15:16:22.283 1435-2250/? W/ActivityManager: Receiver with filter android.content.IntentFilter@c8ef114 already registered for pid 4452, callerPackage is com.xiaomi.joyose

2019-11-28 15:16:22.289 737-828/? W/DisplayFeatureHal: ---skip setting acl feature currently, return!

2019-11-28 15:16:22.292 1435-2250/? W/ActivityManager: Sending non-protected broadcast action_temp_state_change from system 5002:com.miui.powerkeeper/1000 pkg com.miui.powerkeeper. Callers=

2019-11-28 15:16:22.292 1435-2250/? W/ActivityManager: Sending non-protected broadcast action_temp_state_change from system 5002:com.miui.powerkeeper/1000 pkg com.miui.powerkeeper. Callers=

2019-11-28 15:16:22.308 1435-2250/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start

2019-11-28 15:16:22.308 725-725/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.tencent.mm pid = -1

2019-11-28 15:16:22.311 725-766/? E/ANDR-IOP: io prefetch is disabled

2019-11-28 15:16:22.324 23161-23161/? W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@b888701

2019-11-28 15:16:22.343 1435-1452/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.tencent.mm.ui.ACTION_ACTIVE flg=0x10 (has extras) } to com.tencent.android.qqdownloader/com.tencent.kidprotect.BootReceiver requires com.tencent.mm.permission.MM_MESSAGE due to sender com.tencent.mm (uid 10719)

2019-11-28 15:16:22.343 1435-1447/? W/ActivityManager: aInfo is null

2019-11-28 15:16:22.343 1435-1447/? W/com.android.server.am.ExtraActivityManagerService: Intent or aInfo is null!

2019-11-28 15:16:22.369 737-828/? W/DisplayFeatureHal: ---skip setting acl feature currently, return!

2019-11-28 15:16:22.369 1435-1452/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.tencent.mm.ui.ACTION_DEACTIVE flg=0x10 (has extras) } to com.tencent.android.qqdownloader/com.tencent.kidprotect.BootReceiver requires com.tencent.mm.permission.MM_MESSAGE due to sender com.tencent.mm (uid 10719)

2019-11-28 15:16:22.370 1435-1447/? W/ActivityManager: Receiver with filter android.content.IntentFilter@3d7b057 already registered for pid 4452, callerPackage is com.xiaomi.joyose

2019-11-28 15:16:22.377 23161-23161/? E/SchedPolicy: set_timerslack_ns write failed: Operation not permitted

2019-11-28 15:16:22.423 762-901/? W/SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{91ba8b9 token=Token{3f40a80 ActivityRecord{7e34b03 u0 com.tencent.mm/.plugin.wallet_index.ui.OrderHandlerUI t31966}}}#0

2019-11-28 15:16:22.807 737-827/? W/DisplayFeatureHal: histogram_operation-Get, histgram status is wrong, status:0!

2019-11-28 15:16:22.807 737-827/? W/DisplayFeatureHal: histogram_operation-Stop, histgram status is wrong, status:0!

2019-11-28 15:16:22.855 23161-23170/? W/System: A resource failed to call close. 



其中在另一个设备上也会报

11-28 15:38:02.828 1797-1817/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.tencent.mm.ui.ACTION_ACTIVE flg=0x10 (has extras) } to com.tencent.android.qqdownloader/com.tencent.kidprotect.BootReceiver requires com.tencent.mm.permission.MM_MESSAGE due to sender com.tencent.mm (uid 10030)

11-28 15:38:02.849 1797-1812/? W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@1c9b55fc attribute=null, token = android.os.BinderProxy@2c0dcc9d

11-28 15:38:02.873 1797-4933/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.tencent.mm.ui.ACTION_DEACTIVE flg=0x10 (has extras) } to com.tencent.android.qqdownloader/com.tencent.kidprotect.BootReceiver requires com.tencent.mm.permission.MM_MESSAGE due to sender com.tencent.mm (uid 10030)

11-28 15:38:15.594 7238-8925/? W/MessageQueue: Handler (android.telephony.PhoneStateListener$1) {35771e3c} sending message to a Handler on a dead thread

    java.lang.IllegalStateException: Handler (android.telephony.PhoneStateListener$1) {35771e3c} sending message to a Handler on a dead thread

        at android.os.MessageQueue.enqueueMessage(MessageQueue.java:325)

        at android.os.Handler.enqueueMessage(Handler.java:631)

        at android.os.Handler.sendMessageAtTime(Handler.java:600)

        at android.os.Handler.sendMessageDelayed(Handler.java:570)

        at android.os.Handler.sendMessage(Handler.java:507)

        at android.os.Message.sendToTarget(Message.java:416)

        at android.telephony.PhoneStateListener$2.onSignalStrengthsChanged(PhoneStateListener.java:548)

        at com.android.internal.telephony.IPhoneStateListener$Stub.onTransact(IPhoneStateListener.java:133)

        at android.os.Binder.execTransact(Binder.java:446)

个人感觉是权限被拒 但是我这边是通过menifest 申请过 广播

<receiver
   android:name=".reciever.WxPayRegister"
   android:permission="com.tencent.mm.plugin.permission.SEND"
   >
   <intent-filter>
       <action android:name="com.tencent.mm.plugin.openapi.Intent.ACTION_REFRESH_WXAPP" />
   </intent-filter>
</receiver>

还望官方看看 这个问题困扰了很久 拜谢

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

2 个回答

  • 微信支付技术助手1
    微信支付技术助手1
    2019-11-29

    WePayTS8,添加一下。备注添加来源。

    2019-11-29
    有用
    回复 3
    • 晓晓
      晓晓
      2019-11-29
      发送给您了
      2019-11-29
      回复
    • 张金凤
      张金凤
      2020-01-13
      我也遇到了同样的问题
      2020-01-13
      回复
    • C.H
      C.H
      2021-04-25
      遇到同样问题,请问怎么解决?
      2021-04-25
      回复
  • 晓晓
    晓晓
    2019-11-28

    @微信支付技术助手1 大佬求助

    2019-11-28
    有用
    回复
登录 后发表内容