=============== 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.