java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pdv/com.example.pdv.RecebimentosParciais}: android.view.InflateException: Binary XML file line #20: Error inflating class <unknown>

codegur.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

    java.lang.RuntimeException: Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #20: Error inflating class

    Stack Overflow | 1 year ago | Vinicius
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pdv/com.example.pdv.RecebimentosParciais}: android.view.InflateException: Binary XML file line #20: Error inflating class <unknown>
  2. 0

    java.lang.RuntimeException: Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #20: Error inflating class

    codegur.com | 8 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pdv/com.example.pdv.RecebimentosParciais}: android.view.InflateException: Binary XML file line #20: Error inflating class <unknown>
  3. 0

    ANR caused by xml layout - on very few devices - dimension exception

    Stack Overflow | 2 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.pack/com.test.pack.LoginActivity}: android.view.InflateException: Binary XML file line #164: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Adjusting layout of android activity to fit all screens and always display all information

    Stack Overflow | 2 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.albert.mathapp/com.example.albert.mathapp.MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class Button
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

    Can't convert to dimension: type=0x1

    at android.content.res.TypedArray.getDimensionPixelSize()
  2. Android Platform
    Button.<init>
    1. android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:464)
    2. android.widget.TextView.<init>(TextView.java:972)
    3. android.widget.Button.<init>(Button.java:107)
    4. android.widget.Button.<init>(Button.java:103)
    4 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:597)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:672)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:495)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:400)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    6 frames
  7. Android
    PhoneWindow.setContentView
    1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)
    1 frame
  8. Android Platform
    Activity.setContentView
    1. android.app.Activity.setContentView(Activity.java:1946)
    1 frame
  9. com.example.pdv
    RecebimentosParciais.onCreate
    1. com.example.pdv.RecebimentosParciais.onCreate(RecebimentosParciais.java:63)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5248)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2164)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249)
    5. android.app.ActivityThread.access$800(ActivityThread.java:141)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5113)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame