修改了应用的android包名报871504


(moran) #1

刚修改了应用的android包名,然后注册登录报下图这个错误,请问是什么问题?


#2

#3

检查你们客户端的包名、Appkey 和极光官网的配置是否一样,这个报错是集成没成,看完整 的日志提示说明


(moran) #4

检查了几遍了,包名和appkey和极光官网的配置一致~


#5

提供完整的客户端日志信息


(moran) #6

image


#7

不要节选,提供完整的日志,复制粘贴文本即可,你的日志里面没有体现到这个报错,和 JPush 集成失败的具体提示,一般都是有这种提示的


(moran) #8
10-23 16:43:04.329 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.8, buildId:379
10-23 16:43:04.329 30217-30217/com.quejnms.zmnxcn I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
10-23 16:43:07.189 30513-30633/com.quejnms.zmnxcn:mult W/JIGUANG-JCore: [NioSocketClient] tcp connect has failed:java.net.SocketTimeoutException: failed to connect to /121.46.30.50 (port 7007): isConnected failed: ETIMEDOUT (Connection timed out)
10-23 16:43:07.259 30513-30633/com.quejnms.zmnxcn:mult W/JIGUANG-JCore: [DNSSrvUtils] Get default ports error at 192.168.0.1, with IOException:failed to connect to /192.168.0.1 (port 53): isConnected failed: ECONNREFUSED (Connection refused)
10-23 16:43:07.279 30217-30217/com.quejnms.zmnxcn E/JIGUANG-JMessage: [CommonUtils] [getConversationList] have not logged in!
10-23 16:43:07.289 30217-30217/com.quejnms.zmnxcn E/JIGUANG-JMessage: [CommonUtils] [getConversationList] have not logged in!
10-23 16:43:09.469 30217-10771/com.quejnms.zmnxcn I/System.out: [socket][37] connection sdksecure.im.jiguang.cn/106.14.199.188:443;LocalPort=41206(10000)
10-23 16:43:09.469 30217-10771/com.quejnms.zmnxcn I/System.out: [CDS]connect[sdksecure.im.jiguang.cn/106.14.199.188:443] tm:10
10-23 16:43:10.309 30217-30217/com.quejnms.zmnxcn E/JIGUANG-JMessage: [CommonUtils] [getConversationList] have not logged in!
10-23 16:43:11.019 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Action - sendRequestInternal - connection:, timeout:60000, threadId:1
10-23 16:43:11.019 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Action - sendCommandWithLoggedIn
10-23 16:43:11.019 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] request is [Requesting] - timeout:50000, times:1, request:[Request] - [JHead] - len:0, version:1, command:100, rid:30212, sid:41219, juid:15561703731
10-23 16:43:11.019 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Request params - cmd:100
10-23 16:43:11.559 30217-10946/com.quejnms.zmnxcn I/JIGUANG-JMessage: [RequestProcessor] start SyncCheck
10-23 16:43:11.569 30217-10955/com.quejnms.zmnxcn I/System.out: [socket][38] connection sdksecure.im.jiguang.cn/106.14.199.188:443;LocalPort=43255(10000)
10-23 16:43:11.569 30217-10955/com.quejnms.zmnxcn I/System.out: [CDS]connect[sdksecure.im.jiguang.cn/106.14.199.188:443] tm:10
10-23 16:43:13.579 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Action - sendRequestInternal - connection:, timeout:60000, threadId:1
10-23 16:43:13.579 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Action - sendCommandWithLoggedIn
10-23 16:43:13.579 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] request is [Requesting] - timeout:50000, times:1, request:[Request] - [JHead] - len:0, version:1, command:100, rid:30214, sid:41219, juid:15561703731
10-23 16:43:13.579 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Request params - cmd:100
10-23 16:43:13.829 30217-10997/com.quejnms.zmnxcn I/System.out: [socket][39] connection sdk.im.jiguang.cn/47.106.193.223:80;LocalPort=47522(10000)
10-23 16:43:13.829 30217-10997/com.quejnms.zmnxcn I/System.out: [CDS]connect[sdk.im.jiguang.cn/47.106.193.223:80] tm:10
10-23 16:43:13.829 30217-11014/com.quejnms.zmnxcn I/System.out: [socket][39] connection sdk.im.jiguang.cn/47.106.193.223:80;LocalPort=36887(10000)
10-23 16:43:13.829 30217-11014/com.quejnms.zmnxcn I/System.out: [CDS]connect[sdk.im.jiguang.cn/47.106.193.223:80] tm:10
10-23 16:43:13.829 30217-11013/com.quejnms.zmnxcn I/System.out: [socket][41] connection sdk.im.jiguang.cn/47.106.193.223:80;LocalPort=46422(10000)
10-23 16:43:13.829 30217-11013/com.quejnms.zmnxcn I/System.out: [CDS]connect[sdk.im.jiguang.cn/47.106.193.223:80] tm:10
10-23 16:43:13.849 30217-11015/com.quejnms.zmnxcn I/System.out: [socket][42] connection sdk.im.jiguang.cn/106.14.199.188:80;LocalPort=48896(10000)
10-23 16:43:13.849 30217-11015/com.quejnms.zmnxcn I/System.out: [CDS]connect[sdk.im.jiguang.cn/106.14.199.188:80] tm:10
10-23 16:43:20.989 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.8, buildId:379
10-23 16:43:20.989 30217-30217/com.quejnms.zmnxcn I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
10-23 16:43:22.479 20824-11331/? E/JIGUANG-JCore: [ConnectingHelper] Register Failed with server error - code:1005
10-23 16:43:22.479 20824-11331/? W/JIGUANG-JCore: [ConnectingHelper] Local error description: Your appKey and android package name are not matched. Please double check them according to Application you created on Portal.
10-23 16:43:41.339 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Action - onLoggedIn
10-23 16:43:41.349 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Action - sendRequestInternal - connection:, timeout:60000, threadId:1
10-23 16:43:41.349 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Action - sendCommandWithLoggedIn
10-23 16:43:41.349 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] request is [Requesting] - timeout:50000, times:1, request:[Request] - [JHead] - len:0, version:1, command:100, rid:30216, sid:41219, juid:15561703731
10-23 16:43:41.349 30217-30217/com.quejnms.zmnxcn D/JIGUANG-JMessage: [RequestingThread] Request params - cmd:100

#9

这个提示表示 Appkey 和包名不一致

提供你的配置文件,和完整的客户端日志,不要筛选进程,根据上面链接里面的说明取日志.

根据你日志里面的 UID 查询,上报的包名信息是 com.nnnzjaha.eeaasa
去检查你的配置文件,历史的配置删除,clean 工程,卸载重装。


(moran) #10

刚刚又试了下, 登上了


#11

那就是你之前登陆的时候信息没清理干净,SDK 默认用以前的 UID 上报,结果包名不对所以报错了。

现在应该是失败后 SDK 清理了本地保存的信息重新上报了


(moran) #12

嗯 了解了 感谢