Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Create an empty public constructor in your code.

Solutions on the web

via Stack Overflow by user3487657
, 2 years ago
Unable to start activity ComponentInfo{com.example.gcmchatting/com.example.gcmchatting.MainActivity}: java.lang.RuntimeException: Binary XML file line #21: You must supply a layout_height attribute.
via Stack Overflow by project_legacy
, 2 years ago
Unable to start activity ComponentInfo{com.nick.android.nick/com.nick.android.nick.MainActivity}: java.lang.RuntimeException: Binary XML file line #12: You must supply a layout_height attribute.
via Stack Overflow by Arjun Krishnan
, 1 year ago
Unable to start activity ComponentInfo{com.example.assignment3/com.example.assignment3.MainActivity}: java.lang.RuntimeException: Binary XML file line #63: You must supply a layout_width attribute.
via Coderanch by Tom Mordon, 1 year ago
Unable to start activity ComponentInfo{com.dwhudson.http2demo/com.dwhudson.http2demo.Http2DemoActivity}: java.lang.RuntimeException: Binary XML file line #67: You must supply a layout_width attribute.
via GitHub by weiliangdexinqing
, 2 years ago
Unable to start activity ComponentInfo{com.android.launcher3/com.android.launcher3.Launcher}: java.lang.RuntimeException: Binary XML file line #16: You must supply a layout_width attribute.
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.shopping.online/com.shopping.online.MainActivity}: java.lang.RuntimeException: Binary XML file line #149: You must supply a layout_width attribute.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gcmchatting/com.example.gcmchatting.MainActivity}: java.lang.RuntimeException: Binary XML file line #21: You must supply a layout_height attribute. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084) at android.app.ActivityThread.access$600(ActivityThread.java:130) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4745) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)