java.lang.RuntimeException: Unable to create application com.myapp.MyApplication: java.lang.SecurityException: Unable to start service Intent { cmp=com.myapp/.background.MyService }: Unable to launch app com.myapp/10232 for service Intent { cmp=com.myapp/.background.MyService }: user 0 is restricted

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via Stack Overflow by dev1993
, 1 year ago
Unable to create application com.myapp.MyApplication: java.lang.SecurityException: Unable to start service Intent { cmp=com.myapp/.background.MyService }: Unable to launch app com.myapp/10232 for service Intent { cmp=com.myapp/.background.MyService }: user 0 is restricted
via Stack Overflow by Iulian Popescu
, 5 months ago
Unable to create application com.abc.android.AbcAppImpl: java.lang.SecurityException: Unable to start service Intent { cmp=com.abc.live.android/com.abc.android.common.tracking.hockeyapp.HockeyAppService }: Unable to launch app com.abc.live.android/10058 for service Intent { cmp=com.abc.live.android/com.abc.android.common.tracking.hockeyapp.HockeyAppService }: process is bad
via GitHub by krokyze
, 1 year ago
Unable to create application ....App: org.greenrobot.greendao.DaoException: Could not init DAOConfig
via GitHub by yegor-sytnyk
, 1 year ago
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Failed to find module: "email-validator", relative to: /app/tns_modules/
via GitHub by ArneKoeckeritz
, 1 year ago
Unable to create application de.komoot.android.KomootApplication: de.greenrobot.dao.DaoException: Could not init DAOConfig
via GitHub by kaeawc
, 1 year ago
Unable to create application <redacted>: java.lang.ArrayIndexOutOfBoundsException: length=15; index=56585
java.lang.RuntimeException: Unable to create application com.myapp.MyApplication: java.lang.SecurityException: Unable to start service Intent { cmp=com.myapp/.background.MyService }: Unable to launch app com.myapp/10232 for service Intent { cmp=com.myapp/.background.MyService }: user 0 is restricted
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4688)
at android.app.ActivityThread.access$1600(ActivityThread.java:164)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1438)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5408)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)

Users with the same issue

26 times, 3 months ago
Once, 8 months ago
2 times, 10 months ago
6 times, 1 year ago
3 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.