java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app/com.library.activity.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/ic_group_gray_24dp.png from xml type xml resource ID #0x7f020060 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2114) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139) at android.app.ActivityThread.access$700(ActivityThread.java:143) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4960) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) at dalvik.system.NativeStart.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/ic_group_gray_24dp.png from xml type xml resource ID #0x7f020060 at android.content.res.Resources.loadXmlResourceParser(Resources.java:3045) at android.content.res.Resources.loadXmlResourceParser(Resources.java:2992) at android.content.res.Resources.getXml(Resources.java:1772) at android.support.graphics.drawable.VectorDrawableCompat.create(VectorDrawableCompat.java:408) at com.library.util.VectorDrawable.getDrawable(VectorDrawable.java:18) at com.library.activity.MainActivity.attachMenu(MainActivity.java:379) at com.library.activity.MainActivity.createNavigationMenu(MainActivity.java:363) at com.library.activity.MainActivity.onCreate(MainActivity.java:128) at android.app.Activity.performCreate(Activity.java:5203) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2078) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139)

Stack Overflow | Шах | 4 months ago
  1. 0

    Library doesn't see its resources

    Stack Overflow | 4 months ago | Шах
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app/com.library.activity.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/ic_group_gray_24dp.png from xml type xml resource ID #0x7f020060 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2114) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139) at android.app.ActivityThread.access$700(ActivityThread.java:143) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4960) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) at dalvik.system.NativeStart.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/ic_group_gray_24dp.png from xml type xml resource ID #0x7f020060 at android.content.res.Resources.loadXmlResourceParser(Resources.java:3045) at android.content.res.Resources.loadXmlResourceParser(Resources.java:2992) at android.content.res.Resources.getXml(Resources.java:1772) at android.support.graphics.drawable.VectorDrawableCompat.create(VectorDrawableCompat.java:408) at com.library.util.VectorDrawable.getDrawable(VectorDrawable.java:18) at com.library.activity.MainActivity.attachMenu(MainActivity.java:379) at com.library.activity.MainActivity.createNavigationMenu(MainActivity.java:363) at com.library.activity.MainActivity.onCreate(MainActivity.java:128) at android.app.Activity.performCreate(Activity.java:5203) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2078) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139)
  2. 0

    android: how to load xml file from assets directory?

    Stack Overflow | 6 years ago | freeaks
    java.io.FileNotFoundException: Corrupt XML binary file 04-05 21:46:40.940: WARN/System.err(29056): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
  3. 0

    FileNotFoundException : AndroidManifest.xml

    Stack Overflow | 3 years ago | Wilson
    java.io.FileNotFoundException: AndroidManifest.xml W/PackageParser(13839): at android.content.res.AssetManager.openXmlAssetNative(Native Method) W/PackageParser(13839): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:486) W/PackageParser(13839): at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:454)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Fails to install apk

    Stack Overflow | 3 years ago | vamsiampolu
    java.io.FileNotFoundException: AndroidManifest.xml at android.content.res.AssetManager.openXmlAssetNative(Native Method)
  6. 0

    Android inflater exception FileNotFound

    Stack Overflow | 4 years ago | katit
    java.io.FileNotFoundException: res/drawable-mdpi/tire.png at android.content.res.AssetManager.openNonAssetNative(Native Method) at android.content.res.AssetManager.openNonAsset(AssetManager.java:406)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      Corrupt XML binary file at android.content.res.AssetManager.openXmlAssetNative(Native Method) at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:487) at android.content.res.Resources.loadXmlResourceParser(Resources.java:3023) at android.content.res.Resources.loadXmlResourceParser(Resources.java:2992)

      at android.content.res.Resources.getXml()
    2. Android Platform
      Resources.getXml
      1. android.content.res.Resources.getXml(Resources.java:1772)
      1 frame
    3. android.support.graphics
      VectorDrawableCompat.create
      1. android.support.graphics.drawable.VectorDrawableCompat.create(VectorDrawableCompat.java:408)
      1 frame
    4. com.library.util
      VectorDrawable.getDrawable
      1. com.library.util.VectorDrawable.getDrawable(VectorDrawable.java:18)
      1 frame
    5. com.library.activity
      MainActivity.onCreate
      1. com.library.activity.MainActivity.attachMenu(MainActivity.java:379)
      2. com.library.activity.MainActivity.createNavigationMenu(MainActivity.java:363)
      3. com.library.activity.MainActivity.onCreate(MainActivity.java:128)
      3 frames
    6. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5203)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2078)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139)
      5. android.app.ActivityThread.access$700(ActivityThread.java:143)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4960)
      9 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
      2 frames