微信分享,闪一下就没有了


(xiehaiping) #1

我用极光分享来做QQ跟微信的分享,QQ可以分享,但是微信闪一个“请稍后”然后就没有了。这是什么问题?


#2

说明使用的SDK的版本,提供此次测试产生的客户端日志信息。

使用 demo 测试下


(xiehaiping) #3
03-07 10:17:58.466 12608-12786/com.ys.qmyt D/JIGUANG-JCore: [HttpHelper] status code:200
03-07 10:18:11.339 12608-12628/com.ys.qmyt I/aoc: Background sticky concurrent mark sweep GC freed 339912(12MB) AllocSpace objects, 4(80KB) LOS objects, 9% free, 79MB/87MB, paused 3.011ms total 128.615ms
03-07 10:18:17.558 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Send heart beat
03-07 10:18:17.624 12638-12692/com.ys.qmyt:mult I/JIGUANG-JCore: [ReportHelper] periodTasks...
03-07 10:18:27.583 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - onHeartbeatTimeout - timeoutTimes:1
03-07 10:18:27.583 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Already logged in. Give up to retry.
03-07 10:18:32.587 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Send heart beat
03-07 10:18:42.604 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - onHeartbeatTimeout - timeoutTimes:2
03-07 10:18:42.605 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:547593003008
03-07 10:18:42.605 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - retryConnect - disconnectedTimes:0
03-07 10:18:42.609 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] onDisconnected and retry restart conn - delay:3000
03-07 10:18:43.060 12638-12700/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:-991, connection:547593003008, pkg:com.ys.qmyt
03-07 10:18:43.060 12638-12700/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Exception received. Now break - ret:-991
03-07 10:18:43.060 12638-12700/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Break receiving by wantStop - connection:547593003008
03-07 10:18:43.060 12638-12700/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Action - closeConnection - connection:547593003008
03-07 10:18:43.061 12638-12700/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Return of Close jni connection - 0
03-07 10:18:43.061 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - onDisconnected - connection:0
03-07 10:18:43.064 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [ConnectingHelper] Action - sendConnectionChanged
03-07 10:18:43.081 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
03-07 10:18:43.085 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - retryConnect - disconnectedTimes:0
03-07 10:18:45.611 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:12638
03-07 10:18:45.616 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] isRunning:false
03-07 10:18:45.616 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Action - tryStop - connection:0
03-07 10:18:45.620 12638-16272/com.ys.qmyt:mult I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:473
03-07 10:18:45.627 12638-16273/com.ys.qmyt:mult D/libc-netbsd: [getaddrinfo]: hostname=s.jpush.cn; servname=(null); cache_mode=(null), netid=0; mark=0
03-07 10:18:45.628 12638-16273/com.ys.qmyt:mult D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
03-07 10:18:45.628 12638-16273/com.ys.qmyt:mult D/libc-netbsd: [getaddrinfo]: hostname=s.jpush.cn; servname=(null); cache_mode=(null), netid=0; mark=0
03-07 10:18:45.628 12638-16273/com.ys.qmyt:mult D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
03-07 10:18:45.670 12638-16273/com.ys.qmyt:mult D/libc-netbsd: getaddrinfo: s.jpush.cn get result from proxy >>
03-07 10:18:45.670 12638-16273/com.ys.qmyt:mult I/System.out: propertyValue:false
03-07 10:18:45.671 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [SisPolicy] To get sis - host:121.46.20.41, port:19000 ,type:hardcode
03-07 10:18:45.680 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [ConnectingHelper] SIS Receiving...
03-07 10:18:45.735 12638-16272/com.ys.qmyt:mult I/JIGUANG-JCore: [SisPolicy] Get sis info succeed with host: 121.46.20.41 type:hardcode
03-07 10:18:45.739 12638-16272/com.ys.qmyt:mult I/System.out: [CDS]close[57582]
03-07 10:18:45.740 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:103.229.215.33, port:7002
03-07 10:18:45.769 12638-16272/com.ys.qmyt:mult I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:103.229.215.33, port:7002
03-07 10:18:45.789 12638-16272/com.ys.qmyt:mult I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:6787986344, appKey:7f4a64e2c469e46f4f48e230, sdkVersion:65799, pushVersion:196617, analyticsVersion:0 ,shareVersion:66304, pluginPlatformType:0
03-07 10:18:45.843 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [JCommands] Action - receivedCommand - cmd:1
03-07 10:18:45.861 12638-16272/com.ys.qmyt:mult I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:32497, serverTime;1520389126000
03-07 10:18:45.863 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [ConnectingHelper] Action - sendServerTimer
03-07 10:18:45.929 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Network listening...
03-07 10:18:45.929 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - onLoggedIn - connection:547592994816
03-07 10:18:45.929 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [ConnectingHelper] Action - sendConnectionChanged
03-07 10:18:45.951 12638-12691/com.ys.qmyt:mult I/JIGUANG-JCore: [ReportHelper] periodTasks...
03-07 10:19:00.964 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Send heart beat
03-07 10:19:01.023 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:36, connection:547592994816, pkg:com.ys.qmyt
03-07 10:19:01.026 12638-16272/com.ys.qmyt:mult D/JIGUANG-JCore: [NetworkingClient] Network listening...
03-07 10:19:01.027 12638-12691/com.ys.qmyt:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - onHeartbeatSucceed - connection:547592994816

(xiehaiping) #4

你是说这个日志吗


#5

有更多的信息吗?就是在你在分析到微信时,微信提示请稍后,然后消失的这段时间的日志。

并说明你使用的SDK的版本号,你的手机机型和系统,以便复测。


(xiehaiping) #6

新建文本文档.txt (22.0 KB)


(xiehaiping) #7

SDK版本号是23,手机小米跟魅族都一样


(xiehaiping) #8

返回这个错误是9


(xiehaiping) #9

跟我修改微信的应用签名有关系吗?我之前把应用签名写错了,后来有修改过一次


(xiehaiping) #10

@Lris能快点解决吗?


#11

将你所说的返回错误 9 的原始报错信息贴出来,如果涉及到签名,一般会报-6,由于微信会有缓存,清除微信缓存后再试下。


(xiehaiping) #12

缓存清过了,还是一样~原始报错信息是什么意思?还有刚刚我说的那个,我过后修改过签名这个会有问题吗?


(xiehaiping) #13

过了一天了~可以及时回复吗?


#14

先检查一下你当前App包名和签名是否跟微信平台申请appkey的包名和签名是否已经完全一致,更多排查步骤需要等一下,已反馈给JShare 开发那边


(xiehaiping) #15

我想问昨天那个问题,就是修改应用签名会有影响吗?


(xiehaiping) #16



(youke) #17

你应该微信官方的签名生成工具 ,下载地址:
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419319167&token=6422f88cfc0debf31d60a45da59465863b265053&lang=zh_CN

Screenshot_20180308-105923.png


(youke) #18

改完后 清一下缓存,清除微信缓存后再试下。


(xiehaiping) #19

两个结果是一样的啊~大小写有区分吗?我弄完还是不行


(xiehaiping) #20