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

Stack Overflow | dev1993 | 4 months ago
  1. 0

    Security exception: Unable to start service. User 0 is restricted

    Stack Overflow | 4 months ago | dev1993
    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
  2. 0

    App crash on startup on some devices without Google services

    GitHub | 2 years ago | maxme
    java.lang.RuntimeException: Unable to create application org.wordpress.android.WordPress: java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gsf (has extras) } without permission com.google.android.c2dm.permission.RECEIVE
  3. 0

    Android - java.lang.Security Exception

    Stack Overflow | 2 years ago | Vinicius Martin
    java.lang.SecurityException: Not allowed to start service Intent { act=SERVICE_1 (has extras) } without permission not exported from uid 10022
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Permission on IntentService with Eclair 2.1

    Stack Overflow | 5 years ago | mike
    java.lang.SecurityException: Not allowed to start service Intent { act=xy.android.myapp.pkg2.REMOTE_LIST cmp=xy.android.myapp.pkg2/.Service (has extras) } without permission xy.android.myapp.ACCESS_SERVICE
  6. 0

    GCM _ java.lang.RuntimeException: An error occured while executing doInBackground()

    Stack Overflow | 2 years ago | j4rey89
    java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE

  1. Minafaw 8 times, last 4 months ago
  2. joni1408 2 times, last 6 months ago
  3. Agócs Tamás 2 times, last 8 months ago
  4. Larten 1 times, last 10 months ago
9 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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.ContextImpl.startServiceCommon()
  2. Android Platform
    ContextWrapper.startService
    1. android.app.ContextImpl.startServiceCommon(ContextImpl.java:1728)
    2. android.app.ContextImpl.startService(ContextImpl.java:1701)
    3. android.content.ContextWrapper.startService(ContextWrapper.java:516)
    3 frames
  3. com.myapp
    MyApplication.onCreate
    1. com.myapp.MyApplication.onCreate(MyApplication.java:105)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
    2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4685)
    3. android.app.ActivityThread.access$1600(ActivityThread.java:164)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1438)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:150)
    7. android.app.ActivityThread.main(ActivityThread.java:5408)
    7 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)
    2 frames