android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f01012b a=4}

Stack Overflow | Mukesh Y | 5 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

    Fatal Exception: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.v7.internal.view.menu.ExpandedMenuView

    Stack Overflow | 5 months ago | Mukesh Y
    android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f01012b a=4}
  2. 0

    Themed dialog crashes (v0.4.1) when I try to open

    GitHub | 2 years ago | brainail
    android.view.InflateException: Binary XML file line #119: Error inflating class <unknown>
  3. 0

    How can I add padding to JUST the default divider of a listview?

    Stack Overflow | 4 years ago | naviman
    android.view.InflateException: Binary XML file line #7: Error inflating class android.widget.ListView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Resources$NotFoundException: Resource is not a Drawable (color or path)?

    Stack Overflow | 2 years ago | BuggyCoder
    android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f0100a7 a=3}
  6. 0

    Android FileNotFoundException res/drawable-hdpi/scrollbar_handle_vertical.9.png

    Stack Overflow | 5 years ago | Zack Foster
    android.view.InflateException: Binary XML file line #26: Error inflating class com.android.internal.app.AlertController$RecycleListView

    1 unregistered visitors
    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. android.content.res.Resources$NotFoundException

      Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f01012b a=4}

      at android.content.res.Resources.loadDrawable()
    2. Android Platform
      ListView.<init>
      1. android.content.res.Resources.loadDrawable(Resources.java:2343)
      2. android.content.res.TypedArray.getDrawable(TypedArray.java:604)
      3. android.widget.AbsListView.<init>(AbsListView.java:810)
      4. android.widget.ListView.<init>(ListView.java:147)
      5. android.widget.ListView.<init>(ListView.java:143)
      5 frames
    3. Android v7
      ExpandedMenuView.<init>
      1. android.support.v7.internal.view.menu.ExpandedMenuView.<init>(ExpandedMenuView.java:54)
      2. android.support.v7.internal.view.menu.ExpandedMenuView.<init>(ExpandedMenuView.java:50)
      2 frames
    4. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Constructor.java)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    5. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      4 frames
    6. Android v7
      AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent
      1. android.support.v7.internal.view.menu.ListMenuPresenter.getMenuView(ListMenuPresenter.java:102)
      2. android.support.v7.app.AppCompatDelegateImplV7$PanelFeatureState.getListMenuView(AppCompatDelegateImplV7.java:1908)
      3. android.support.v7.app.AppCompatDelegateImplV7.initializePanelContent(AppCompatDelegateImplV7.java:1203)
      4. android.support.v7.app.AppCompatDelegateImplV7.openPanel(AppCompatDelegateImplV7.java:1045)
      5. android.support.v7.app.AppCompatDelegateImplV7.onKeyUpPanel(AppCompatDelegateImplV7.java:1410)
      6. android.support.v7.app.AppCompatDelegateImplV7.onKeyUp(AppCompatDelegateImplV7.java:877)
      7. android.support.v7.app.AppCompatDelegateImplV7.dispatchKeyEvent(AppCompatDelegateImplV7.java:871)
      8. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:226)
      8 frames
    7. Android
      PhoneWindow$DecorView.dispatchKeyEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1876)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:4196)
      2. android.view.ViewRootImpl.handleImeFinishedEvent(ViewRootImpl.java:4139)
      3. android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3199)
      4. android.os.Handler.dispatchMessage(Handler.java:107)
      5. android.os.Looper.loop(Looper.java:194)
      6. android.app.ActivityThread.main(ActivityThread.java:5427)
      6 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame