daily pastebin goal
43%
SHARE
TWEET

Untitled

a guest Aug 18th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Failure retrieving icon in package
  2. W/PackageManager(14947): Failure retrieving icon 0x7f020004 in package com.a.project
  3. W/PackageManager(14947): java.lang.NullPointerException
  4. W/PackageManager(14947):    at android.app.ActivityThread$ResourcesKey.<init>(ActivityThread.java:1138)
  5. W/PackageManager(14947):    at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1207)
  6. W/PackageManager(14947):    at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1266)
  7. W/PackageManager(14947):    at android.app.ContextImpl$ApplicationPackageManager.getResourcesForApplication(ContextImpl.java:2439)
  8. W/PackageManager(14947):    at android.app.ContextImpl$ApplicationPackageManager.getDrawable(ContextImpl.java:2332)
  9. W/PackageManager(14947):    at android.content.pm.PackageItemInfo.loadIcon(PackageItemInfo.java:140)
  10. W/PackageManager(14947):    at android.app.ContextImpl$ApplicationPackageManager.getApplicationIcon(ContextImpl.java:2387)
  11. W/PackageManager(14947):    at com.motorola.filemanager.utils.IconifiedText.buildIconItem(IconifiedText.java:287)
  12. W/PackageManager(14947):    at com.motorola.filemanager.local.DirectoryScanner.run(DirectoryScanner.java:83)
  13.    
  14. android.permission.WRITE_EXTERNAL_STORAGE
  15.    
  16. try {
  17.     PackageManager manager = context.getPackageManager();
  18.     return manager.getPackageInfo(context.getPackageName(), 0).versionCode;
  19. } catch (Exception e) {
  20.     e.printStackTrace();
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top