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 | Шах | 10 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

    Library doesn't see its resources

    Stack Overflow | 10 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

    failling to write to sdcard

    Stack Overflow | 6 years ago | prolink007
    java.io.FileNotFoundException: /mnt/sdcard/test.csv (Permission denied) 04-06 00:17:15.000: WARN/System.err(279): at org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method) 04-06 00:17:15.000: WARN/System.err(279): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152) 04-06 00:17:15.012: WARN/System.err(279): at java.io.FileOutputStream.<init>(FileOutputStream.java:97) 04-06 00:17:15.022: WARN/System.err(279): at java.io.FileOutputStream.<init>(FileOutputStream.java:168) 04-06 00:17:15.032: WARN/System.err(279): at java.io.FileOutputStream.<init>(FileOutputStream.java:147) 04-06 00:17:15.032: WARN/System.err(279): at cpe495.smartapp.SmartApp$8.onClick(SmartApp.java:165) 04-06 00:17:15.041: WARN/System.err(279): at android.view.View.performClick(View.java:2408) 04-06 00:17:15.051: WARN/System.err(279): at android.view.View$PerformClick.run(View.java:8816) 04-06 00:17:15.062: WARN/System.err(279): at android.os.Handler.handleCallback(Handler.java:587) 04-06 00:17:15.062: WARN/System.err(279): at android.os.Handler.dispatchMessage(Handler.java:92) 04-06 00:17:15.072: WARN/System.err(279): at android.os.Looper.loop(Looper.java:123) 04-06 00:17:15.072: WARN/System.err(279): at android.app.ActivityThread.main(ActivityThread.java:4627) 04-06 00:17:15.081: WARN/System.err(279): at java.lang.reflect.Method.invokeNative(Native Method) 04-06 00:17:15.091: WARN/System.err(279): at java.lang.reflect.Method.invoke(Method.java:521) 04-06 00:17:15.091: WARN/System.err(279): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
  3. 0

    FileOutputStream

    android-hilfe.de | 1 year ago
    java.io.FileNotFoundException: /nullWaffen.txt: open failed: EROFS (Read-only file system) 12-16 14:49:57.187: W/System.err(974): at libcore.io.IoBridge.open(IoBridge.java:416) 12-16 14:49:57.197: W/System.err(974): at java.io.FileOutputStream.<init>(FileOutputStream.java:88) 12-16 14:49:57.197: W/System.err(974): at java.io.FileOutputStream.<init>(FileOutputStream.java:73) 12-16 14:49:57.207: W/System.err(974): at java.io.FileWriter.<init>(FileWriter.java:80) 12-16 14:49:57.217: W/System.err(974): at de.devTobi.fastfight.Charakter.writeWaffe(Charakter.java:69) 12-16 14:49:57.217: W/System.err(974): at de.devTobi.fastfight.Charakter.<init>(Charakter.java:34) 12-16 14:49:57.227: W/System.err(974): at de.devTobi.fastfight.MainActivity$2.onClick(MainActivity.java:40) 12-16 14:49:57.227: W/System.err(974): at android.view.View.performClick(View.java:4204) 12-16 14:49:57.237: W/System.err(974): at android.view.View$PerformClick.run(View.java:17355) 12-16 14:49:57.237: W/System.err(974): at android.os.Handler.handleCallback(Handler.java:725) 12-16 14:49:57.248: W/System.err(974): at android.os.Handler.dispatchMessage(Handler.java:92) 12-16 14:49:57.257: W/System.err(974): at android.os.Looper.loop(Looper.java:137) 12-16 14:49:57.267: W/System.err(974): at android.app.ActivityThread.main(ActivityThread.java:5041) 12-16 14:49:57.267: W/System.err(974): at java.lang.reflect.Method.invokeNative(Native Method) 12-16 14:49:57.277: W/System.err(974): at java.lang.reflect.Method.invoke(Method.java:511) 12-16 14:49:57.277: W/System.err(974): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
  4. Speed up your debug routine!

    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