java.lang.RuntimeException: Unable to start activity ComponentInfo{openfoodfacts.github.scrachx.openfood/openfoodfacts.github.scrachx.openfood.views.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/ic_arrow_back_black.xml from drawable resource ID #0x7f020069

GitHub | itchix | 3 months 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

    Resources not found

    GitHub | 3 months ago | itchix
    java.lang.RuntimeException: Unable to start activity ComponentInfo{openfoodfacts.github.scrachx.openfood/openfoodfacts.github.scrachx.openfood.views.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/ic_arrow_back_black.xml from drawable resource ID #0x7f020069
  2. 0

    Resources not found

    GitHub | 3 months ago | itchix
    java.lang.RuntimeException: Unable to start activity ComponentInfo{openfoodfacts.github.scrachx.openfood/openfoodfacts.github.scrachx.openfood.views.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/ic_arrow_back_black.xml from drawable resource ID #0x7f020069
  3. 0

    SQL exception when opening history

    GitHub | 4 months ago | teolemon
    java.lang.RuntimeException: Unable to start activity ComponentInfo{openfoodfacts.github.scrachx.openfood/openfoodfacts.github.scrachx.openfood.views.HistoryScanActivity}: android.database.sqlite.SQLiteException: not an error (code 0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    inflate a view without XML in Android

    Stack Overflow | 2 years ago | akash kubavat
    java.lang.RuntimeException: Unable to start activity ComponentInfo{my.package.class}: android.content.res.Resources$NotFoundException: Resource ID #0x1d97b
  6. 0

    Issue 201835 - android - build errors - Error:(67, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha'). - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 9 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mypackage.android/com.mypackage.android.MyActivity}: android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013
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. org.xmlpull.v1.XmlPullParserException

    Binary XML file line #1: invalid drawable tag vector

    at android.graphics.drawable.Drawable.createFromXmlInner()
  2. Android Platform
    Resources.getDrawable
    1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933)
    2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:877)
    3. android.content.res.Resources.loadDrawable(Resources.java:2137)
    4. android.content.res.Resources.getDrawable(Resources.java:711)
    4 frames
  3. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:374)
    1 frame
  4. openfoodfacts.github.scrachx
    MainActivity.onCreate
    1. openfoodfacts.github.scrachx.openfood.utils.Utils.getBitmapFromDrawable(Utils.java:218)
    2. openfoodfacts.github.scrachx.openfood.views.customtabs.CustomTabsHelper.getCustomTabsIntent(CustomTabsHelper.java:67)
    3. openfoodfacts.github.scrachx.openfood.views.MainActivity.onCreate(MainActivity.java:114)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5312)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2395)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
    5. android.app.ActivityThread.access$800(ActivityThread.java:153)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:157)
    9. android.app.ActivityThread.main(ActivityThread.java:5633)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:896)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:712)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame