com.android.server.pm.PackageManagerException: scanPackageLI

GitHub | uKL | 9 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

    dex2oat fails in runtime

    GitHub | 9 months ago | uKL
    com.android.server.pm.PackageManagerException: scanPackageLI
  2. 0

    com.qualcomm.qti.smartsearch library is missing when trying to install Dialer.apk

    Stack Overflow | 2 years ago | bcmb
    com.android.server.pm.PackageManagerException: Package com.android.dialer requires unavailable shared library com.qualcomm.qti.smartsearch; failing!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. jk 1 times, last 1 year ago

Root Cause Analysis

  1. com.android.server.pm.PackageManagerException

    scanPackageLI

    at com.android.server.pm.PackageManagerService.scanPackageDirtyLI()
  2. Android
    PackageManagerService$8.run
    1. com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:7180)
    2. com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:6463)
    3. com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:11738)
    4. com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:12329)
    5. com.android.server.pm.PackageManagerService.access$2700(PackageManagerService.java:275)
    6. com.android.server.pm.PackageManagerService$8.run(PackageManagerService.java:10074)
    6 frames
  3. Android Platform
    HandlerThread.run
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:135)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames
  4. Android
    ServiceThread.run
    1. com.android.server.ServiceThread.run(ServiceThread.java:46)
    1 frame