收藏
回答

Android App微信支付请问报这个错误什么原因,说你们的一个类没找到

2019-05-07 08:59:38.460 9567-9911/com.example.angelassistance E/MtaSDK: [pool-7-thread-1(14389): null:707] - Server response error code:404, error:{"ret":-1, "msg":"invalid appkey"}

2019-05-07 08:59:38.635 801-801/? E/SchedPolicy: set_timerslack_ns write failed: Operation not permitted

2019-05-07 08:59:38.850 1588-4457/? E/Parcel: Class not found when unmarshalling: com.tencent.mm.pluginsdk.wallet.PayInfo

    java.lang.ClassNotFoundException: com.tencent.mm.pluginsdk.wallet.PayInfo

        at java.lang.Class.classForName(Native Method)

        at java.lang.Class.forName(Class.java:453)

        at android.os.Parcel.readParcelableCreator(Parcel.java:2827)

        at android.os.Parcel.readParcelable(Parcel.java:2781)

        at android.os.Parcel.readValue(Parcel.java:2684)

        at android.os.Parcel.readArrayMapInternal(Parcel.java:3053)

        at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:288)

        at android.os.BaseBundle.unparcel(BaseBundle.java:232)

        at android.os.BaseBundle.getString(BaseBundle.java:1155)

        at android.content.Intent.getStringExtra(Intent.java:8111)

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:730)

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:668)

        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1534)

        at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:610)

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6590)

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6481)

        at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:6472)

        at android.app.IActivityManager$Stub.onTransact$startActivity$(IActivityManager.java:10839)

        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:111)

        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:4172)

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

     Caused by: java.lang.ClassNotFoundException: com.tencent.mm.pluginsdk.wallet.PayInfo

        at java.lang.Class.classForName(Native Method)

        at java.lang.BootClassLoader.findClass(ClassLoader.java:1346)

        at java.lang.BootClassLoader.loadClass(ClassLoader.java:1406)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

        at java.lang.Class.classForName(Native Method) 

        at java.lang.Class.forName(Class.java:453) 

        at android.os.Parcel.readParcelableCreator(Parcel.java:2827) 

        at android.os.Parcel.readParcelable(Parcel.java:2781) 

        at android.os.Parcel.readValue(Parcel.java:2684) 

        at android.os.Parcel.readArrayMapInternal(Parcel.java:3053) 

        at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:288) 

        at android.os.BaseBundle.unparcel(BaseBundle.java:232) 

        at android.os.BaseBundle.getString(BaseBundle.java:1155) 

        at android.content.Intent.getStringExtra(Intent.java:8111) 

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:730) 

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:668) 

        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1534) 

        at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:610) 

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6590) 

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6481) 

        at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:6472) 

        at android.app.IActivityManager$Stub.onTransact$startActivity$(IActivityManager.java:10839) 

        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:111) 

        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:4172) 

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

     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

2019-05-07 08:59:38.868 1588-4457/? E/Parcel: Class not found when unmarshalling: com.tencent.mm.pluginsdk.wallet.PayInfo

    java.lang.ClassNotFoundException: com.tencent.mm.pluginsdk.wallet.PayInfo

        at java.lang.Class.classForName(Native Method)

        at java.lang.Class.forName(Class.java:453)

        at android.os.Parcel.readParcelableCreator(Parcel.java:2827)

        at android.os.Parcel.readParcelable(Parcel.java:2781)

        at android.os.Parcel.readValue(Parcel.java:2684)

        at android.os.Parcel.readArrayMapInternal(Parcel.java:3053)

        at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:288)

        at android.os.BaseBundle.unparcel(BaseBundle.java:232)

        at android.os.BaseBundle.getString(BaseBundle.java:1155)

        at android.content.Intent.getStringExtra(Intent.java:8111)

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:730)

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:668)

        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1534)

        at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:610)

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6590)

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6481)

        at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:6472)

        at android.app.IActivityManager$Stub.onTransact$startActivity$(IActivityManager.java:10839)

        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:111)

        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:4172)

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

     Caused by: java.lang.ClassNotFoundException: com.tencent.mm.pluginsdk.wallet.PayInfo

        at java.lang.Class.classForName(Native Method)

        at java.lang.BootClassLoader.findClass(ClassLoader.java:1346)

        at java.lang.BootClassLoader.loadClass(ClassLoader.java:1406)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

        at java.lang.Class.classForName(Native Method) 

        at java.lang.Class.forName(Class.java:453) 

        at android.os.Parcel.readParcelableCreator(Parcel.java:2827) 

        at android.os.Parcel.readParcelable(Parcel.java:2781) 

        at android.os.Parcel.readValue(Parcel.java:2684) 

        at android.os.Parcel.readArrayMapInternal(Parcel.java:3053) 

        at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:288) 

        at android.os.BaseBundle.unparcel(BaseBundle.java:232) 

        at android.os.BaseBundle.getString(BaseBundle.java:1155) 

        at android.content.Intent.getStringExtra(Intent.java:8111) 

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:730) 

        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:668) 

        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1534) 

        at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:610) 

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6590) 

        at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6481) 

        at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:6472) 

        at android.app.IActivityManager$Stub.onTransact$startActivity$(IActivityManager.java:10839) 

        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:111) 

        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:4172) 

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

     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

2019-05-07 08:59:39.214 1588-2009/? E/WindowManager: win=Window{5ee624a u0 com.example.angelassistance/com.example.angelassistance.ui.PaySelectActivity EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.AppWindowToken.destroySurfaces:870 com.android.server.wm.AppWindowToken.destroySurfaces:851 com.android.server.wm.WindowState.onExitAnimationDone:5365 com.android.server.wm.WindowStateAnimator.onAnimationFinished:319 com.android.server.wm.WindowState.onAnimationFinished:5787 com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:92 

2019-05-07 08:59:39.882 1588-2009/? E/WindowManager: win=Window{7cf3670 u0 com.tencent.mm/com.tencent.mm.plugin.wallet.pay.ui.WalletPayUI EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.AppWindowToken.destroySurfaces:870 com.android.server.wm.AppWindowToken.destroySurfaces:851 com.android.server.wm.WindowState.onExitAnimationDone:5365 com.android.server.wm.WindowStateAnimator.onAnimationFinished:319 com.android.server.wm.WindowState.onAnimationFinished:5787 com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:92 

2019-05-07 08:59:44.130 1011-1180/? E/IptablesRestoreController: [iptables debug]iptables-restore execute *filter

    -A fw_standby -m owner --uid-owner 11097 -j DROP

    COMMIT

2019-05-07 08:59:44.151 1011-1180/? E/IptablesRestoreController: [iptables debug]iptables-restore execute done *filter

    -A fw_standby -m owner --uid-owner 11097 -j DROP

    COMMIT

    , res : 0

2019-05-07 08:59:49.558 1011-1180/? E/IptablesRestoreController: [iptables debug]iptables-restore execute *filter

    -A fw_standby -m owner --uid-owner 10332 -j DROP

    COMMIT

2019-05-07 08:59:49.566 1011-1180/? E/IptablesRestoreController: [iptables debug]iptables-restore execute done *filter

    -A fw_standby -m owner --uid-owner 10332 -j DROP

    COMMIT

    , res : 0

2019-05-07 08:59:51.928 1588-2483/? E/Watchdog: !@Sync 1964 [2019-05-07 08:59:51.928] FD count : 1392

2019-05-07 08:59:52.175 1019-1149/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0

2019-05-07 09:00:00.098 9940-9940/? E/Zygote: accessInfo : 2

2019-05-07 09:00:00.098 9940-9940/? E/Zygote: setSDPgroupsIntarray[pid]: 0 / [gid]: 15010040 / [uid]: 15010040

2019-05-07 09:00:00.117 9945-9945/? E/Zygote: isWhitelistProcess - Process is Whitelisted

2019-05-07 09:00:00.118 9945-9945/? E/Zygote: accessInfo : 1

2019-05-07 09:00:00.124 9940-9940/? E/app.samsungapp: Not starting debugger since process cannot load the jdwp agent.

2019-05-07 09:00:00.140 9945-9945/? E/app.samsungapp: Not starting debugger since process cannot load the jdwp agent.

2019-05-07 09:00:00.312 9945-9972/? E/ActivityThread: Failed to find provider info for com.google.android.gms.phenotype

2019-05-07 09:00:00.444 9940-9990/? E/ActivityThread: Failed to find provider info for null

2019-05-07 09:00:00.445 9940-9990/? E/ActivityThread: Failed to find provider info for com.sec.android.app.clockpackage.celebvoice

2019-05-07 09:00:00.469 9940-9940/? E/[SAUI]: File not exist

2019-05-07 09:00:00.472 10009-10009/? E/Zygote: accessInfo : 2

2019-05-07 09:00:00.472 10009-10009/? E/Zygote: setSDPgroupsIntarray[pid]: 0 / [gid]: 15010029 / [uid]: 15010029

2019-05-07 09:00:00.483 10009-10009/? E/gle.android.gm: Not starting debugger since process cannot load the jdwp agent.

2019-05-07 09:00:00.495 10025-10025/? E/Zygote: isWhitelistProcess - Process is Whitelisted

2019-05-07 09:00:00.496 10025-10025/? E/Zygote: accessInfo : 1

2019-05-07 09:00:00.515 10025-10025/? E/d.stickercente: Not starting debugger since process cannot load the jdwp agent.

2019-05-07 09:00:00.594 10043-10043/? E/Zygote: isWhitelistProcess - Process is Whitelisted

2019-05-07 09:00:00.595 10043-10043/? E/Zygote: accessInfo : 1

2019-05-07 09:00:00.605 10043-10043/? E/g.extension.ch: Not starting debugger since process cannot load the jdwp agent.

2019-05-07 09:00:00.669 10059-10059/? E/Zygote: accessInfo : 2

2019-05-07 09:00:00.669 10059-10059/? E/Zygote: setSDPgroupsIntarray[pid]: 0 / [gid]: 15010029 / [uid]: 15010029

2019-05-07 09:00:00.685 10059-10059/? E/ocess.gservice: Not starting debugger since process cannot load the jdwp agent.

2019-05-07 09:00:16.711 1011-1180/? E/IptablesRestoreController: [iptables debug]iptables-restore execute *filter


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

1 个回答

  • 微信支付技术助手4
    微信支付技术助手4
    2019-05-07

    按照以下几点来检查,

    1)你签名中的key,也就是你的API密钥key,这个参数要你们自己到商户平台设置的,设置的规则是32位数字与字母大小写的组合的随机数,不能设置成签名串和参数appsecrete,你们有正确设置吗???

    2)检查开放平台对应的包名与签名是否有正确设置。

    https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=8_5 这里有详细的设置说明。

    3)调用支付使用的noncestr这个参数必须和商家服务器调用统一下单接口返回的那个noncestr一致

    4)从预支付订单返回的数据 ,没有重新签名,也会引起这个问题。

    5)重新安装微信后试试。


    2019-05-07
    有用
    回复 1
    • samson
      samson
      2019-11-26
      官方就爱乱回复,回复数量是你们的考核指标吗?
      2019-11-26
      回复
登录 后发表内容