=============== Problem description ====================
Hello everyone, when I used Baidu cloud push SDK, I found that I could normally receive the push notification in AVD, but I couldn't receive it on my mobile phone.
Found such a sentence in logcat
Shouldstopself ------- localpriority = 360; other packagename = com. Push. Test -- Priority = 384
According to other logcat information, the Service pushed by Baidu cloud has exited. What is the cause?
============= Solution 1 ======================
It is very likely that you have been intercepted. You have uninstalled all anti-virus software on your phone. If you are using a 360 mobile assistant, it is also possible that this is blocked for you. I just need to uninstall these items because I have encountered such a problem. Later I found it was intercepted by other software and it was speechless. Try it.
============= Solution 2 ======================
It is possible that the priority is displayed here. Try to increase the service priority.
The service pushed by Baidu cloud exited at startup.