java.lang.NumberFormatException: Invalid int: "res/drawable-xhdpi-v4/ic_action_share.png"

itguai.com | 4 months ago
  1. 0

    java.lang.NumberFormatException: Invalid int: "res/drawable-hdpi-v4/ic_action_share.png"

    Stack Overflow | 2 years ago | Maksim Diakonov
    java.lang.NumberFormatException: Invalid int: "res/drawable-xhdpi-v4/ic_action_share.png"
  2. 0

    NumberFormatException while inflating layout

    GitHub | 3 years ago | blinskey
    android.view.InflateException: Binary XML file line #35: Error inflating class com.benlinskey.greekreference.GreekTextView
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.NumberFormatException: Invalid int: "@16974053"

    GitHub | 3 years ago | gflarity
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.avidtap.pos/com.avidtap.pos.MainActivity}: java.lang.NumberFormatException: Invalid int: "@16974053"
  5. 0

    crash when opening smiley palette

    GitHub | 2 years ago | georg-h
    java.lang.NumberFormatException: Invalid int: "1f633.png"

  1. Handemelindo 6 times, last 4 days ago
  2. bmacedo 2 times, last 5 days ago
  3. MoYapro 1 times, last 1 week ago
  4. filpgame 4 times, last 3 weeks ago
  5. silex 6 times, last 1 month ago
32 more registered users
63 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.NumberFormatException

    Invalid int: "res/drawable-xhdpi-v4/ic_action_share.png"

    at java.lang.Integer.invalidInt()
  2. Java RT
    Integer.parseInt
    1. java.lang.Integer.invalidInt(Integer.java:138)
    2. java.lang.Integer.parse(Integer.java:375)
    3. java.lang.Integer.parseInt(Integer.java:366)
    3 frames
  3. Android Platform
    ViewGroup.<init>
    1. com.android.internal.util.XmlUtils.convertValueToInt(XmlUtils.java:123)
    2. android.content.res.TypedArray.getInt(TypedArray.java:254)
    3. android.view.View.<init>(View.java:3561)
    4. android.view.ViewGroup.<init>(ViewGroup.java:432)
    4 frames
  4. com.example.trace
    ShareActionProvider.onCreateActionView
    1. com.example.trace.CustomShareActionProvider.ActivityChooserView.<init>(Unknown Source)
    2. com.example.trace.CustomShareActionProvider.ActivityChooserView.<init>(Unknown Source)
    3. com.example.trace.CustomShareActionProvider.ActivityChooserView.<init>(Unknown Source)
    4. com.example.trace.CustomShareActionProvider.ShareActionProvider.onCreateActionView(Unknown Source)
    4 frames
  5. Android Support v4
    j.onCreateActionView
    1. android.support.v4.view.j.onCreateActionView(Unknown Source)
    1 frame
  6. Android v7
    y.onCreateActionView
    1. android.support.v7.internal.view.menu.y.onCreateActionView(Unknown Source)
    1 frame
  7. Android
    MenuItemImpl.getActionView
    1. com.android.internal.view.menu.MenuItemImpl.getActionView(MenuItemImpl.java:580)
    1 frame
  8. Android v7
    t.getActionView
    1. android.support.v7.internal.view.menu.t.getActionView(Unknown Source)
    1 frame
  9. Android Support v4
    y.a
    1. android.support.v4.view.y.a(Unknown Source)
    1 frame
  10. com.example.trace
    p.a
    1. com.example.trace.p.a(Unknown Source)
    1 frame
  11. Android Support v4
    h.onCreatePanelMenu
    1. android.support.v4.app.Fragment.b(Unknown Source)
    2. android.support.v4.app.n.a(Unknown Source)
    3. android.support.v4.app.h.onCreatePanelMenu(Unknown Source)
    3 frames
  12. android.support.v7
    n.onCreatePanelMenu
    1. android.support.v7.a.g.a(Unknown Source)
    2. android.support.v7.a.m.a(Unknown Source)
    3. android.support.v7.a.g.onCreatePanelMenu(Unknown Source)
    4. android.support.v7.a.n.onCreatePanelMenu(Unknown Source)
    4 frames
  13. Android
    PhoneWindow.invalidatePanelMenu
    1. com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:445)
    2. com.android.internal.policy.impl.PhoneWindow.invalidatePanelMenu(PhoneWindow.java:819)
    2 frames
  14. Android Platform
    Activity.invalidateOptionsMenu
    1. android.app.Activity.invalidateOptionsMenu(Activity.java:2690)
    1 frame