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)

Solutions on the web54373

  • via Stack Overflow by Шах
    , 11 months ago
    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
  • ) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5419) at java.lang.reflect.Method.invokeNative(Native Method) at
  • $H.handleMessage(ActivityThread.java:1282) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5285) at java.lang.reflect.Method.invokeNative(Native
  • Stack trace

    • 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) 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: 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(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) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.