java.lang.SecurityException: Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Running am commands in terminal without using su

    Android Enthusiasts | 3 years ago | Kartikeya Shukla
    java.lang.SecurityException: Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
  2. 0

    Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

    Stack Overflow | 4 years ago | pangang
    java.lang.SecurityException: Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
  3. 0

    Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

    w3facility.org | 2 years ago
    java.lang.SecurityException: Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android runtime error (real device only): SecurityException

    Stack Overflow | 3 years ago | pfrank
    java.lang.SecurityException: Permission Denial: starting Intent { act=<package>.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=<package>/.MainActivity } from null (pid=21943, uid=2000) not exported from uid 10204
  6. 0

    How to start Appium server for testing with Android real device

    GitHub | 2 years ago | frankbp
    java.lang.SecurityException: Permission Denial: starting Intent { act=android.in tent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.n etease.pris/.activity.PRISStartFlashScreen } from null (pid=29833, uid=2000) not exported from uid 10103

    7 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

      Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

      at android.os.Parcel.readException()
    2. Android Platform
      ActivityManagerProxy.startActivityAsUser
      1. android.os.Parcel.readException(Parcel.java:1425)
      2. android.os.Parcel.readException(Parcel.java:1379)
      3. android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:1906)
      3 frames
    3. com.android.commands
      Am.main
      1. com.android.commands.am.Am.runStart(Am.java:494)
      2. com.android.commands.am.Am.run(Am.java:109)
      3. com.android.commands.am.Am.main(Am.java:82)
      3 frames
    4. Android
      RuntimeInit.main
      1. com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
      2. com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
      2 frames
    5. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame