android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.view.menu.ActionMenuItemView

Stack Overflow | VICTORGS3 | 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 ActionMenuItemView with Android 6.0. (sdk 23)

    Stack Overflow | 8 months ago | VICTORGS3
    android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.view.menu.ActionMenuItemView
  2. 0

    Instanciating a Toolbar with an ApplicationContext

    Stack Overflow | 12 months ago | mbonnin
    java.lang.UnsupportedOperationException: Failed to resolve attribute at index 5: TypedValue{t=0x2/d=0x7f01010b a=-1}
  3. 0

    AlertDialog.setAdapter not working on 2.3.3-3.0

    GitHub | 4 years ago | ru-nekit-android
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ListView filled with ArrayAdapter not workin on Android > 4.0

    GitHub | 4 years ago | KrLx1994roller
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  6. 0

    RuntimeException Unable to start activity.. InflateException Binary XML line #37: Error inflating class com.android.internal.widget.ActionBarView

    Stack Overflow | 2 years ago | Shirish Herwade
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jd.activity/com.jd.activity.AlertActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class com.android.internal.widget.ActionBarView

  1. filpgame 12 times, last 4 weeks ago
10 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. java.lang.UnsupportedOperationException

    Failed to resolve attribute at index 5: TypedValue{t=0x2/d=0x7f010049 a=-1}

    at android.content.res.TypedArray.getColorStateList()
  2. Android Platform
    TextView.<init>
    1. android.content.res.TypedArray.getColorStateList(TypedArray.java:482)
    2. android.widget.TextView.<init>(TextView.java:1043)
    3. android.widget.TextView.<init>(TextView.java:671)
    3 frames
  3. Android v7
    AppCompatTextView.<init>
    1. android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:60)
    1 frame
  4. android.support.v7
    ActionMenuItemView.<init>
    1. android.support.v7.view.menu.ActionMenuItemView.<init>(ActionMenuItemView.java:72)
    2. android.support.v7.view.menu.ActionMenuItemView.<init>(ActionMenuItemView.java:68)
    2 frames
  5. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:619)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    5 frames
  7. android.support.v7
    BaseMenuPresenter.getItemView
    1. android.support.v7.view.menu.BaseMenuPresenter.createItemView(BaseMenuPresenter.java:161)
    2. android.support.v7.view.menu.BaseMenuPresenter.getItemView(BaseMenuPresenter.java:180)
    2 frames
  8. Android v7
    ActionMenuPresenter.flagActionItems
    1. android.support.v7.widget.ActionMenuPresenter.getItemView(ActionMenuPresenter.java:192)
    2. android.support.v7.widget.ActionMenuPresenter.flagActionItems(ActionMenuPresenter.java:480)
    2 frames
  9. android.support.v7
    BaseMenuPresenter.updateMenuView
    1. android.support.v7.view.menu.MenuBuilder.flagActionItems(MenuBuilder.java:1138)
    2. android.support.v7.view.menu.BaseMenuPresenter.updateMenuView(BaseMenuPresenter.java:91)
    2 frames
  10. Android v7
    ActionMenuPresenter.updateMenuView
    1. android.support.v7.widget.ActionMenuPresenter.updateMenuView(ActionMenuPresenter.java:229)
    1 frame
  11. android.support.v7
    MenuItemImpl.setVisible
    1. android.support.v7.view.menu.MenuBuilder.dispatchPresenterUpdate(MenuBuilder.java:284)
    2. android.support.v7.view.menu.MenuBuilder.onItemsChanged(MenuBuilder.java:1030)
    3. android.support.v7.view.menu.MenuBuilder.onItemVisibleChanged(MenuBuilder.java:1065)
    4. android.support.v7.view.menu.MenuItemImpl.setVisible(MenuItemImpl.java:528)
    4 frames
  12. com.example.com
    DetalleFragment$4.done
    1. com.example.com.MainActivity.showOption(MainActivity.java:882)
    2. com.example.com.MainActivity.activarConfigHorarios(MainActivity.java:1035)
    3. com.example.com.DetalleFragment$4.done(DetalleFragment.java:652)
    4. com.example.com.DetalleFragment$4.done(DetalleFragment.java:555)
    4 frames
  13. com.parse
    ParseTaskUtils$2$1.run
    1. com.parse.ParseTaskUtils$2$1.run(ParseTaskUtils.java:116)
    1 frame
  14. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5417)
    4 frames
  15. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  16. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames