android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f02004f 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:2152) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:710) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:346) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:194) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:182) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:717) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:187) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:127) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:147) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:27) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:50) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:201) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:181) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:521) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at com.gmail.saadbnwhd.mybudget.MainActivity.onCreate(MainActivity.java:16) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5343) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2343) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2441)

Stack Overflow | DivisinSi | 8 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

    Error inflating class android.support.v7.widget.Toolbar in Android 4.4.2

    Stack Overflow | 8 months ago | DivisinSi
    android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f02004f 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:2152) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:710) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:346) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:194) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:182) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:717) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:187) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:127) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:147) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:27) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:50) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:201) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:181) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:521) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at com.gmail.saadbnwhd.mybudget.MainActivity.onCreate(MainActivity.java:16) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5343) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2343) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2441)

    Root Cause Analysis

    1. org.xmlpull.v1.XmlPullParserException

      Binary XML file line #17: invalid drawable tag vector 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.graphics.drawable.Drawable.createFromXml(Drawable.java:877) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:2148) 09-20 11:52:13.763 24048-24048/? E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:710)

      at android.support.v4.content.ContextCompat.getDrawable()
    2. Android Support v4
      ContextCompat.getDrawable
      1. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:346)
      1 frame
    3. Android v7
      AppCompatActivity.onCreate
      1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:194)
      2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:182)
      3. android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:717)
      4. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:187)
      5. android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77)
      6. android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:127)
      7. android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:147)
      8. android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:27)
      9. android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:50)
      10. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:201)
      11. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:181)
      12. android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:521)
      13. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71)
      13 frames
    4. com.gmail.saadbnwhd
      MainActivity.onCreate
      1. com.gmail.saadbnwhd.mybudget.MainActivity.onCreate(MainActivity.java:16)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5343)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2343)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2441)
      5. android.app.ActivityThread.access$900(ActivityThread.java:151)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)
      7. android.os.Handler.dispatchMessage(Handler.java:110)
      8. android.os.Looper.loop(Looper.java:193)
      9. android.app.ActivityThread.main(ActivityThread.java:5345)
      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:824)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
      2 frames