java.lang.RuntimeException: Binary XML file line #14: You must supply a layout_width attribute.

GitHub | gaganpreet4423 | 9 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

    Error in Caldroid localInflater.inflate(R.layout.calendar_view, container, false)

    GitHub | 1 year ago | sajadmaster
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.caldroidsample/com.caldroidsample.CaldroidSampleActivity}: java.lang.RuntimeException: Binary XML file line #14: You must supply a layout_width attribute.
  2. 0

    Caldroid not working in android 4.3 and 4.4.4 but 5.0.2 working fine

    GitHub | 2 years ago | tutysathish
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.humworld.healthypregnancytracker/com.humworld.healthypregnancytracker.activity.AppointmentsActivity}: java.lang.RuntimeException: Binary XML file line #13: You must supply a layout_width attribute.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Calendar View of Calroid not working

    Stack Overflow | 1 year ago | Zero
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.eduims.portal/com.eduims.portal.StudentFragmentActivity}: java.lang.RuntimeException: Binary XML file line #13: You must supply a layout_width attribute.
  5. 0

    GitHub comment 332#157761632

    GitHub | 1 year ago | azizimusa
    java.lang.RuntimeException: Binary XML file line #14: You must supply a layout_width attribute.
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.RuntimeException

    Binary XML file line #14: You must supply a layout_width attribute.

    at android.content.res.TypedArray.getLayoutDimension()
  2. Android Platform
    LayoutInflater.inflate
    1. android.content.res.TypedArray.getLayoutDimension(TypedArray.java:492)
    2. android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:6314)
    3. android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:6483)
    4. android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:2043)
    5. android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1955)
    6. android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:61)
    7. android.view.LayoutInflater.rInflate(LayoutInflater.java:757)
    8. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
    9. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    10. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    10 frames
  3. com.roomorama.caldroid
    CaldroidFragment.onCreateView
    1. com.roomorama.caldroid.CaldroidFragment.onCreateView(CaldroidFragment.java:1257)
    1 frame
  4. Android Support v4
    FragmentActivity.onStart
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234)
    5. android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046)
    6. android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1989)
    7. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)
    8. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    9. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234)
    10. android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046)
    11. android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1989)
    12. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)
    13. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    14. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234)
    15. android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046)
    16. android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:174)
    17. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:598)
    17 frames
  5. com.nagarro.reddoorz
    MainActivity.onStart
    1. com.nagarro.reddoorz.reddoorz.ui.activity.BaseActivity.onStart(BaseActivity.java:133)
    2. com.nagarro.reddoorz.reddoorz.ui.activity.MainActivity.onStart(MainActivity.java:138)
    2 frames
  6. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1187)
    2. android.app.Activity.performStart(Activity.java:5409)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2507)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2595)
    5. android.app.ActivityThread.access$800(ActivityThread.java:169)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1513)
    7. android.os.Handler.dispatchMessage(Handler.java:110)
    8. android.os.Looper.loop(Looper.java:193)
    9. android.app.ActivityThread.main(ActivityThread.java:5529)
    9 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:657)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame