包名与APPkey不一致


(呼呼哈嘿) #1

我的工程包名就是极光上的包名,Appkey是复制极光生成的,一致提示这个怎么都不行!


#2

提供你的客户端日志


(呼呼哈嘿) #3
07-21 15:58:23.700 19514-19514/com.threeti.anquangu D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.7, buildId:375
07-21 15:58:23.711 19514-19514/com.threeti.anquangu D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
07-21 15:58:24.177 19514-19514/com.threeti.anquangu I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
07-21 15:58:24.424 19514-19514/com.threeti.anquangu D/ActivityThread: SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@488e2e8 className=cn.jpush.android.service.PushService packageName=com.threeti.anquangu intent=null}
07-21 15:58:24.453 19514-19514/com.threeti.anquangu D/ActivityThread: SVC-CREATE_SERVICE handled : 0 / CreateServiceData{token=android.os.BinderProxy@488e2e8 className=cn.jpush.android.service.PushService packageName=com.threeti.anquangu intent=null}
07-21 15:58:24.493 19514-19514/com.threeti.anquangu D/ActivityThread: SVC-BIND_SERVICE handled : 0 / BindServiceData{token=android.os.BinderProxy@488e2e8 intent=Intent { FromType=0xffffffff mCallingUid=10212 cmp=com.threeti.anquangu/cn.jpush.android.service.PushService }}
07-21 15:58:24.493 19514-19514/com.threeti.anquangu D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@adb7d01, flags=0, startId=1
07-21 15:58:24.495 19514-19514/com.threeti.anquangu D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=run.action FromType=0xffffffff mCallingUid=10212 cmp=com.threeti.anquangu/cn.jpush.android.service.PushService (has extras) }, pkg:com.threeti.anquangu, connection:0
07-21 15:58:24.496 19514-19514/com.threeti.anquangu D/ActivityThread: SVC-SERVICE_ARGS handled : 0 / ServiceArgsData{token=android.os.BinderProxy@488e2e8 startId=1 args=Intent { act=run.action FromType=0xffffffff mCallingUid=10212 cmp=com.threeti.anquangu/cn.jpush.android.service.PushService (has extras) }}
07-21 15:58:24.496 19514-19514/com.threeti.anquangu D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@adb7d01, flags=0, startId=2
07-21 15:58:24.496 19514-19514/com.threeti.anquangu D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.INIT FromType=0xffffffff mCallingUid=10212 cmp=com.threeti.anquangu/cn.jpush.android.service.PushService (has extras) }, pkg:com.threeti.anquangu, connection:0
07-21 15:58:24.496 19514-19639/com.threeti.anquangu D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
07-21 15:58:24.496 19514-19514/com.threeti.anquangu D/ActivityThread: SVC-SERVICE_ARGS handled : 0 / ServiceArgsData{token=android.os.BinderProxy@488e2e8 startId=2 args=Intent { act=cn.jpush.android.intent.INIT FromType=0xffffffff mCallingUid=10212 cmp=com.threeti.anquangu/cn.jpush.android.service.PushService (has extras) }}
07-21 15:58:24.510 1172-1954/? W/ActivityManager: don't allow to launch ServiceInfo{e35cac cn.jpush.android.service.DaemonService}
07-21 15:58:24.516 1172-2028/? W/ActivityManager: don't allow to launch ServiceInfo{130d75 cn.jpush.android.service.DaemonService}
07-21 15:58:24.518 1172-2015/? W/ActivityManager: don't allow to launch ServiceInfo{3b4910a cn.jpush.android.service.DaemonService}
07-21 15:58:24.519 1172-1953/? W/ActivityManager: don't allow to launch ServiceInfo{1a901ef cn.jpush.android.service.DaemonService}
07-21 15:58:24.520 1172-2075/? W/ActivityManager: don't allow to launch ServiceInfo{47f9798 cn.jpush.android.service.DaemonService}
07-21 15:58:24.549 19514-19692/com.threeti.anquangu D/JIGUANG-JCore: [ConnectingHelper] To get sis - host:s.jpush.cn, port:19000
07-21 15:58:24.551 19514-19710/com.threeti.anquangu D/libc-netbsd: [getaddrinfo]: mtk hostname=s.jpush.cn; servname=(null); netid=0; mark=0
07-21 15:58:24.551 19514-19710/com.threeti.anquangu D/libc-netbsd: [getaddrinfo]: mtk hostname=s.jpush.cn; servname=(null); netid=0; mark=0
07-21 15:58:24.552 413-1139/? D/FrameworkListener: dispatchCommand data = (getaddrinfo s.jpush.cn ^ 1024 0 1 0 0)
07-21 15:58:24.553 413-19711/? D/libc-netbsd: [getaddrinfo]: mtk hostname=s.jpush.cn; servname=(null); netid=1088; mark=1088
07-21 15:58:24.553 413-19711/? D/libc-netbsd: getaddrinfo: s.jpush.cn get result from proxy gai_error = 11
07-21 15:58:24.553 413-19711/? D/libc-netbsd: res_queryN name = s.jpush.cn, class = 1, type = 1
07-21 15:58:24.566 413-19711/? D/libc-netbsd: res_queryN name = s.jpush.cn succeed
07-21 15:58:24.568 19514-19710/com.threeti.anquangu D/libc-netbsd: getaddrinfo: s.jpush.cn get result from proxy gai_error = 0
07-21 15:58:24.618 19514-19692/com.threeti.anquangu I/JIGUANG-JCore: [ConnectingHelper] Get sis info succeed with host: s.jpush.cn

#4

开启下debug提供完整的日志


#5

稍等一下,如果你确认配置正确,1009的问题可能是我们的问题,正在查


(呼呼哈嘿) #6

我检查好几遍了,确定没有空格之类的


(呼呼哈嘿) #7

我用自动配置和手动配置都试了,都报这个问题


#8

现在请大家重新配置,然后测试一下还否还有问题


(LIENLIN) #9

我的也是以通知的形式提示“包名和AppKey不匹配”。其中两个log如下:
07-21 17:13:48.126 24005-24244/com.example.yzkj.intelligentsound E/JIGUANG-JCore: [ConnectingHelper] Register Failed with server error - code:1009
07-21 17:13:48.130 24005-24244/com.example.yzkj.intelligentsound W/JIGUANG-JCore: [ConnectingHelper] Local error description: Your appKey is related to a non-Android App.Please use your Android App’s appKey, or add an Android app for this appKey.


(LIENLIN) #10

还是老样子的


#11

等一下,我们继续查一下,刚刚修复 的可能不够彻底


#12

你们现在重新试试看!


(LIENLIN) #13

嗯好了,谢谢啊,辛苦了


(呼呼哈嘿) #14

现在好了感谢!