Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo在StartServiceReceiver中启动了一个服务EMChatService,导致总是崩溃,需要使用前台服务去启动吗? #395

Open
Code6666 opened this issue Jul 11, 2020 · 0 comments

Comments

@Code6666
Copy link

java.lang.RuntimeException:Unable to start receiver .ease.receiver.StartServiceReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.hyphenate.chat.EMChatService (has extras) }: app is in background uid UidRecord{604ec63 u0a185 SVC idle procs:2 proclist:16170,16244, seq(0,0,0)}

可以直接把这个StartServiceReceiver 给去掉吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant