改换包名后出现的问题

sdk
收不到消息
标签: #<Tag:0x00007fb835742ee0> #<Tag:0x00007fb835742d00>

(lwj) #1

更换了新的包名后,我也对应创建了新应用,也把对应的appkey和包名在配置文件中更改了但是还是没反应 求大神帮忙看下


谢谢各位大神了


#2

请提供完整的客户端日志


(lwj) #3
09-26 10:02:49.720 3193-3257/? I/ActivityManager:   Force stopping service ServiceRecord{8483919 u0 com.ikentop.anze.yijiu/cn.jpush.android.service.PushService}
09-26 10:02:51.554 17706-17706/com.ikentop.anze.yijiu D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.5, buildId:359
09-26 10:02:51.557 17706-17706/com.ikentop.anze.yijiu D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
09-26 10:02:51.631 3193-4578/? I/ActivityManager: Start proc 17746:com.ikentop.anze.yijiu:pushcore/u0a386 for service com.ikentop.anze.yijiu/cn.jpush.android.service.PushService
09-26 10:02:51.892 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.5, buildId:359
09-26 10:02:51.909 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
09-26 10:02:52.218 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=run.action cmp=com.ikentop.anze.yijiu/cn.jpush.android.service.PushService (has extras) }, pkg:com.ikentop.anze.yijiu, connection:0
09-26 10:02:52.220 17746-17822/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
09-26 10:02:52.248 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.INIT cmp=com.ikentop.anze.yijiu/cn.jpush.android.service.PushService (has extras) }, pkg:com.ikentop.anze.yijiu, connection:0
09-26 10:02:52.250 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=run.action cmp=com.ikentop.anze.yijiu/cn.jpush.android.service.PushService (has extras) }, pkg:com.ikentop.anze.yijiu, connection:0
09-26 10:02:52.251 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.INIT cmp=com.ikentop.anze.yijiu/cn.jpush.android.service.PushService (has extras) }, pkg:com.ikentop.anze.yijiu, connection:0
09-26 10:02:52.255 17746-17822/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
09-26 10:02:52.303 17746-17840/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [ConnectingHelper] To get sis - host:s.jpush.cn, port:19000
09-26 10:02:52.305 17796-17796/com.ikentop.anze.yijiu:remote D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.5, buildId:359
09-26 10:02:52.312 17796-17796/com.ikentop.anze.yijiu:remote D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
09-26 10:02:52.350 17746-17840/com.ikentop.anze.yijiu:pushcore I/JIGUANG-JCore: [ConnectingHelper] Get sis info succeed with host: s.jpush.cn
09-26 10:02:52.396 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=run.action cmp=com.ikentop.anze.yijiu/cn.jpush.android.service.PushService (has extras) }, pkg:com.ikentop.anze.yijiu, connection:547584015680
09-26 10:02:52.397 17746-17822/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
09-26 10:02:52.416 17746-17746/com.ikentop.anze.yijiu:pushcore D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.INIT cmp=com.ikentop.anze.yijiu/cn.jpush.android.service.PushService (has extras) }, pkg:com.ikentop.anze.yijiu, connection:547584015680

你好帮忙看下这是什么问题 我有全局搜索该替换的都替换了啊


(lwj) #4

一直接收不到广播返回的极光ID


#5

完整的日志有没有?这里也没有报错什么的,就是一开始启动的正常打印,没有什么有效信息。


(lwj) #6

我开启了日志啊 他只走到着几部打印 在BroadcastReceiver里面接收Registration Id没反应 改包名之前是可以收到regid的


#7


(lwj) #8

你好 你是指的这个

process   <service
            android:name="com.baidu.location.f"
            android:enabled="true"
            android:permission="android.permission.BAIDU_LOCATION_SERVICE"
            android:process=":remote" />

还是广播中的process 我已打印logcat 就会出现usb驱动损坏 要重新安装 ,有没有其他人类似出现我这种情况的 我问问他们怎么解决的


#9

1、拿到完整日志就能分析出原因是什么

2、你如果觉得就是改了包名的缘故,就去检查所有涉及包名的地方是不是都修改了

3、我说的是多进程的配置


(lwj) #10

跟你图上一样的 没配置process 刚刚偶然运行了一次项目 发现接收到了RegistrationID ,然后接下来几次都没有 接收Registrationid是有什么样的机制比如多久发送一次


#11

(lwj) #12

可以了 多谢了