You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Process: com.myapp.demo.debug, PID: 1176
java.lang.RuntimeException: Unable to create application com.myapp.application.App: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.myapp.demo.debug/com.nshmura.strictmodenotifier.LogWatchService }: app is in background uid UidRecord{2cde9eb u0a360 CEM idle procs:1 seq(0,0,0)}
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5794)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1661)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.myapp.demo.debug/com.nshmura.strictmodenotifier.LogWatchService }: app is in background uid UidRecord{2cde9eb u0a360 CEM idle procs:1 seq(0,0,0)}
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1505)
at android.app.ContextImpl.startService(ContextImpl.java:1461)
at android.content.ContextWrapper.startService(ContextWrapper.java:644)
at com.nshmura.strictmodenotifier.StrictModeNotifierInternals.startLogWatchService(StrictModeNotifierInternals.java:36)
at com.nshmura.strictmodenotifier.StrictModeNotifier.install(StrictModeNotifier.java:14)
at com.nshmura.strictmodenotifier.StrictModeNotifier.install(StrictModeNotifier.java:8)
at com.myapp.application.DebugMetricsHelper.init(DebugMetricsHelper.kt:50)
at com.myapp.application.App.onCreate(App.kt:26)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5791)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1661)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: