android.view.InflateException: Binary XML file line #18: Error inflating class <unknown>

google.com | 8 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

    ACRA crash inflating layout: Invalid int: "5.0dip" (likely won't fix, not in our code)

    GitHub | 2 years ago | crankycoder
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.mozilla.mozstumbler/org.mozilla.mozstumbler.client.navdrawer.MainDrawerActivity}: android.view.InflateException: Binary XML file line #279: Error inflating class <unknown>
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Logcat : Binary XML file line #18 : Error inflating class android.widget.TextView

    Stack Overflow | 2 years ago | Fantastic Sky
    android.view.InflateException: Binary XML file line #18: Error inflating class android.widget.TextView
  4. 0

    NumberFormatException: Invalid int: "8.0dip" only on Galaxy Tab 2

    Stack Overflow | 3 years ago
    android.view.InflateException: Binary XML file line #36: Error inflating class com.package.fr.views.SofiaLiTextView

  1. Andreas Häber 10 times, last 2 weeks ago
  2. Indri Yunita 3 times, last 3 weeks ago
  3. Eric 2 times, last 4 weeks ago
  4. tomthomas 4 times, last 1 month ago
  5. justCodeit 2 times, last 2 months ago
40 more registered users
55 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: "8.0dip"

    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
    TextView.<init>
    1. com.android.internal.util.XmlUtils.convertValueToInt(XmlUtils.java:123)
    2. android.content.res.TypedArray.getInt(TypedArray.java:254)
    3. android.widget.TextView.<init>(TextView.java:1004)
    4. android.widget.TextView.<init>(TextView.java:569)
    4 frames
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  5. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
    1 frame
  6. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  7. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    6 frames
  8. com.aol.aolreplay
    SettingsDialogFragment.onCreateView
    1. com.aol.aolreplay.ui.SettingsDialogFragment.onCreateView(SettingsDialogFragment.java:56)
    1 frame
  9. Android Support v4
    FragmentManagerImpl$1.run
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1478)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:927)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1460)
    6. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:440)
    6 frames
  10. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:615)
    2. android.os.Handler.dispatchMessage(Handler.java:92)
    3. android.os.Looper.loop(Looper.java:137)
    4. android.app.ActivityThread.main(ActivityThread.java:4921)
    4 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame