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 | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Stack Overflow | 11 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