我集成的推送为什么运行不走receiver

android
标签: #<Tag:0x00007fb83f5e42d8>

(wyxhome) #1


(wyxhome) #2


#3

1、参考demo,测试demo

2、[quote=“zijichao, post:12, topic:18475”]
我的解决方式:
1、还是要首先导入官网下载的demo包,然后导入项目查看你遇到的问题demo上是否也存在
2、如果demo也是一样的情况,那肯定就是手机的问题,换一个手机试试demo,总之还是要用demo测试,确定不会是手机本身原因导致的
3、如果使用demo确定手机没有问题后,我是参考形式的按照文档上的配置情况,然后完全自写,而不是复制的重写了一下,就完全好使了
[/quote]

3、检查你推送的消息是notification还是Message,客户端用对应的方法去获取。


(wyxhome) #4

获取不到id


#5

如果连集成都失败了,请看完整的集成日志,给出你的报错信息!


(wyxhome) #6

demo的key哪里来


#7

配置为你自己创建的应用的key

希望你能回答我的问题,给出我需要的信息,或对上一问题的解决情况给出说明,而不是一直提出你的问题


(wyxhome) #8

就是按照步骤来的,application初始化,导入jar包和jinLibs里面的so文件,清单文件加权限,和配置信息,写receivere


#9

给信息!!!!!


(wyxhome) #10
10-18 14:20:21.764 30586-30586/com.yszj.securitysystem E/System: stat file error, path is /data/app/com.yszj.securitysystem-1/lib/arm64, exception is android.system.ErrnoException: stat failed: ENOENT (No such file or directory)
10-18 14:20:21.844 30586-30586/com.yszj.securitysystem E/JPush: [JPushInterface] System.loadLibrary::jpush215java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.yszj.securitysystem-1/base.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.yszj.securitysystem-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libjpush215.so"
10-18 14:20:21.904 30586-30586/com.yszj.securitysystem E/art: No implementation found for int cn.jpush.android.service.PushProtocol.GetSdkVersion() (tried Java_cn_jpush_android_service_PushProtocol_GetSdkVersion and Java_cn_jpush_android_service_PushProtocol_GetSdkVersion__)
10-18 14:20:21.904 30586-30586/com.yszj.securitysystem E/JPush: [JPushGlobal] Get sdk version fail![获取sdk版本失败!]
10-18 14:20:21.904 30586-30586/com.yszj.securitysystem E/JPush: [JPushGlobal] JPush .so file do not match JPush .jar file in the project, Failed to init JPush
10-18 14:20:21.954 30586-30586/com.yszj.securitysystem E/tao: 0hasStackTraces
10-18 14:20:22.244 30586-30586/com.yszj.securitysystem E/JPush: [JPushSA] Context should be an Activity on this method : onResume
10-18 14:20:22.264 30586-30586/com.yszj.securitysystem E/art: No implementation found for int cn.jpush.android.service.PushProtocol.GetSdkVersion() (tried Java_cn_jpush_android_service_PushProtocol_GetSdkVersion and Java_cn_jpush_android_service_PushProtocol_GetSdkVersion__)
10-18 14:20:22.264 30586-30586/com.yszj.securitysystem E/JPush: [JPushGlobal] Get sdk version fail![获取sdk版本失败!]
10-18 14:20:22.264 30586-30586/com.yszj.securitysystem E/JPush: [JPushGlobal] JPush .so file do not match JPush .jar file in the project, Failed to init JPush

#11

(wyxhome) #12

按照最新demo复制jar文件和so文件,so文件是libjcore117.so这样的,只有这一个对吧


(wyxhome) #13

好了,谢谢谢谢谢