如果Service等的AndroidManifest中声明为android:exported="false"
则该服务不能够跨进程使用。
Permission Denied!
需要改为:android:exported="true"
则该服务不能够跨进程使用。
本文探讨了Android中Service的跨进程调用限制。当Service在AndroidManifest中声明为android:exported=false时,则不允许其他应用跨进程访问此服务。若要实现跨进程调用,则需将Service声明为android:exported=true。

被折叠的 条评论
为什么被折叠?