我的应用程序无法运行Android 8.0版本,原因如下:致命异常:android.app.RemoteServiceException

时间:2019-07-08 07:39:19

标签: android android-8.0-oreo

Fatal Exception: android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()
       at android.app.ActivityThread$H.handleMessage + 1936(ActivityThread.java:1936)
       at android.os.Handler.dispatchMessage + 106(Handler.java:106)
       at android.os.Looper.loop + 192(Looper.java:192)
       at android.app.ActivityThread.main + 6811(ActivityThread.java:6811)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 445(RuntimeInit.java:445)
       at com.android.internal.os.ZygoteInit.main + 875(ZygoteInit.java:875)

0 个答案:

没有答案