我Service在Android O OS上使用Class.
我计划Service在后台使用.
Android建议指出startService()应该使用startForegroundService().
如果您使用startForegroundService(),则Service抛出a Service然后调用Service错误.
这有什么问题?
service android operating-system foreground android-8.0-oreo