fennifith / Alarmio

A simple alarm clock focused on design, readability, and internet radio.
https://play.google.com/store/apps/details?id=me.jfenn.alarmio
Apache License 2.0
338 stars 96 forks source link

Same error message after every restart of system and sometimes app #151

Closed kreativum closed 3 years ago

kreativum commented 3 years ago

Device Info

Steps to Reproduce

Error Message

java.lang.RuntimeException at Alarmio.java:118

Stack Trace

java.lang.RuntimeException: Unable to create application me.jfenn.alarmio.Alarmio: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=me.jfenn.alarmio/.services.TimerService }: app is in background uid UidRecord{8de5092 u0a359 SVC idle change:idle|uncached procs:1 seq(0,0,0)} at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6484) at android.app.ActivityThread.access$1300(ActivityThread.java:220) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7397) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935) Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=me.jfenn.alarmio/.services.TimerService }: app is in background uid UidRecord{8de5092 u0a359 SVC idle change:idle|uncached procs:1 seq(0,0,0)} at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1616) at android.app.ContextImpl.startService(ContextImpl.java:1571) at android.content.ContextWrapper.startService(ContextWrapper.java:669) at me.jfenn.alarmio.Alarmio.onCreate(Alarmio.java:118) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1183) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6479) ... 8 more

fennifith commented 3 years ago

I believe this is a duplicate of #113 (although I don't blame you for missing it given the amount of open issues at the moment - hopefully I can do something about that soon...)

kreativum commented 3 years ago

I believe this is a duplicate of #113 (although I don't blame you for missing it given the amount of open issues at the moment - hopefully I can do something about that soon...)

Thanks. Usally I don't use code platforms. Didn't knew the right keywords to search for duplicates. If you or the team need more information on the circumstances, feel free to post here. I'll see what i can do.