收藏
回答

Android APP 微信支付返回APP失败!

W/MID: java.io.FileNotFoundException: /storage/emulated/0/Tencent/mta/.mid.txt: open failed: ENOENT (No such file or directory)
        at libcore.io.IoBridge.open(IoBridge.java:496)
        at java.io.FileInputStream.<init>(FileInputStream.java:159)
        at java.io.FileReader.<init>(FileReader.java:72)
        at com.tencent.a.a.a.a.a.a(Unknown Source:2)
        at com.tencent.a.a.a.a.b.b(Unknown Source:23)
        at com.tencent.a.a.a.a.f.o(Unknown Source:7)
        at com.tencent.a.a.a.a.g.b(Unknown Source:32)
        at com.tencent.a.a.a.a.g.p(Unknown Source:34)
        at com.tencent.wxop.stat.StatConfig.getLocalMidOnly(Unknown Source:6)
        at com.tencent.wxop.stat.event.e.<init>(Unknown Source:158)
        at com.tencent.wxop.stat.event.b.<init>(Unknown Source:0)
        at com.tencent.wxop.stat.u.run(Unknown Source:19)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:929)
     Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
        at libcore.io.Linux.open(Native Method)
        at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
        at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
        at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
        at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8046)
        at libcore.io.IoBridge.open(IoBridge.java:482)
        at java.io.FileInputStream.<init>(FileInputStream.java:159) 
        at java.io.FileReader.<init>(FileReader.java:72) 
        at com.tencent.a.a.a.a.a.a(Unknown Source:2) 
        at com.tencent.a.a.a.a.b.b(Unknown Source:23) 
        at com.tencent.a.a.a.a.f.o(Unknown Source:7) 
        at com.tencent.a.a.a.a.g.b(Unknown Source:32) 
        at com.tencent.a.a.a.a.g.p(Unknown Source:34) 
        at com.tencent.wxop.stat.StatConfig.getLocalMidOnly(Unknown Source:6) 
        at com.tencent.wxop.stat.event.e.<init>(Unknown Source:158) 
        at com.tencent.wxop.stat.event.b.<init>(Unknown Source:0) 
        at com.tencent.wxop.stat.u.run(Unknown Source:19) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
        at java.lang.Thread.run(Thread.java:929) 

  最近在维护一个老项目,发现微信支付在Android 10.0系统上,当支付成功点击返回APP时,返回失败,手动切换回APP界面提示:获取关键数据失败,请重新打开APP! 然后在debug日志看到了以上错误提示!本人非安卓专业开发人事,为此事头痛了几天了,忘那位大神指点一下。
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容