java.lang.RuntimeException: Package manager has died. My question is why it it happened and how to solve it(to get installed applications) by this way or other way? this is one of the reports: at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:224)

Stack Overflow | Alex Wang | 8 months ago
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

    Why getPackageManager().getInstalledPackages() will make application crash

    Stack Overflow | 8 months ago | Alex Wang
    java.lang.RuntimeException: Package manager has died. My question is why it it happened and how to solve it(to get installed applications) by this way or other way? this is one of the reports: at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:224)

    Root Cause Analysis

    1. android.os.DeadObjectException

      No message provided

      at android.os.BinderProxy.transact()
    2. Android Platform
      ApplicationPackageManager.getApplicationInfo
      1. android.os.BinderProxy.transact(Native Method)
      2. android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo(IPackageManager.java:1740)
      3. android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:219)
      3 frames