How do I tell which binary XML file is causing an error in Android?

view story

http://stackoverflow.com – I decompiled an .apk for an input method which I'm trying to change the on-screen layout for. My desired changes succeeded on Nexus 10, but my Nexus 4 crashed with the following error in logcat. How do I tell which exact .xml file is causing the error? There are literally hundreds of .xml files all spaghetti-referencing each other. E/AndroidRuntime( 5344): FATAL EXCEPTION: main E/AndroidRuntime( 5344): java.lang.RuntimeException: Binary XML file line #5: You must supply a layout_width attribute. E/AndroidRuntime( 5344): at android.content.res.TypedArray.getLayoutDimension(TypedArray.ja (HowTos)