java.io.FileNotFoundException: res/drawable-xhdpi-v4/sym_def_app_icon.png

GitHub | jahirfiquitiva | 1 year 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

    Fix crash in LoadAppsToRequest task

    GitHub | 1 year ago | jahirfiquitiva
    java.io.FileNotFoundException: res/drawable-xhdpi-v4/sym_def_app_icon.png

    Root Cause Analysis

    1. java.io.FileNotFoundException

      res/drawable-xhdpi-v4/sym_def_app_icon.png

      at android.content.res.AssetManager.openNonAssetNative()
    2. Android Platform
      ResolveInfo.loadIcon
      1. android.content.res.AssetManager.openNonAssetNative(AssetManager.java)
      2. android.content.res.AssetManager.openNonAsset(AssetManager.java:423)
      3. android.content.res.Resources.loadDrawableForCookie(Resources.java:2758)
      4. android.content.res.Resources.loadDrawable(Resources.java:2665)
      5. android.content.res.Resources.getDrawable(Resources.java:843)
      6. android.content.res.Resources.getDrawable(Resources.java:818)
      7. android.content.res.Resources.getDrawable(Resources.java:793)
      8. android.app.ApplicationPackageManager.getDefaultActivityIcon(ApplicationPackageManager.java:897)
      9. android.content.pm.ApplicationInfo.loadDefaultIcon(ApplicationInfo.java:947)
      10. android.app.ApplicationPackageManager.loadUnbadgedItemIcon(ApplicationPackageManager.java:2116)
      11. android.app.ApplicationPackageManager.loadItemIcon(ApplicationPackageManager.java:2093)
      12. android.content.pm.PackageItemInfo.loadIcon(PackageItemInfo.java:163)
      13. android.content.pm.ComponentInfo.loadDefaultIcon(ComponentInfo.java:184)
      14. android.app.ApplicationPackageManager.loadUnbadgedItemIcon(ApplicationPackageManager.java:2116)
      15. android.app.ApplicationPackageManager.loadItemIcon(ApplicationPackageManager.java:2093)
      16. android.content.pm.PackageItemInfo.loadIcon(PackageItemInfo.java:163)
      17. android.content.pm.ResolveInfo.loadIcon(ResolveInfo.java:230)
      17 frames
    3. jahirfiquitiva.apps.iconshowcase
      ApplicationBase$1.run
      1. jahirfiquitiva.apps.iconshowcase.tasks.LoadAppsToRequest.<init>(LoadAppsToRequest.java:53)
      2. jahirfiquitiva.apps.iconshowcase.utilities.ApplicationBase.loadAppsForRequest(ApplicationBase.java:70)
      3. jahirfiquitiva.apps.iconshowcase.utilities.ApplicationBase.access$100(ApplicationBase.java:26)
      4. jahirfiquitiva.apps.iconshowcase.utilities.ApplicationBase$1.run(ApplicationBase.java:56)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame