java.lang.RuntimeException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18499

  • Binary XML file line #14: You must supply a layout_width attribute.
  • via GitHub by azizimusa
    , 1 year ago
    Binary XML file line #14: You must supply a layout_width attribute.
  • Binary XML file line #14: You must supply a layout_width attribute.
  • Stack trace

    • java.lang.RuntimeException: Binary XML file line #14: You must supply a layout_width attribute. at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:492) at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:6314) at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:6483) at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:2043) at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1955) at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:61) at android.view.LayoutInflater.rInflate(LayoutInflater.java:757) at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at com.roomorama.caldroid.CaldroidFragment.onCreateView(CaldroidFragment.java:1257) at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234) at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046) at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1989) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234) at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046) at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1989) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234) at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046) at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:174) at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:598) at com.nagarro.reddoorz.reddoorz.ui.activity.BaseActivity.onStart(BaseActivity.java:133) at com.nagarro.reddoorz.reddoorz.ui.activity.MainActivity.onStart(MainActivity.java:138) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1187) at android.app.Activity.performStart(Activity.java:5409) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2507) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2595) at android.app.ActivityThread.access$800(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1513) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5529) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:657) at dalvik.system.NativeStart.main(NativeStart.java)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    21 times, 1 year ago
    14 times, 1 year ago
    Unknown user
    Once, 1 year ago
    4 times, 1 year ago
    7 times, 1 year ago
    31 more bugmates