Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Binary XML missing layout_width.

Binary XML missing layout_width.

Scheduled Pinned Locked Moved Android
helpandroidxml
7 Posts 4 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ericgahn
    wrote on last edited by
    #1

    Hi All; Please help as I am going nuts. Whenever I start a new application I always run it 'naked' just to confirm that everything is ok. From this afternoon all applications I create are coming up with the error as in the logcat dump below. As far as I can see the activity_main.xml file is correct and there is only this one form in the project. All old applications run ok without hiccups. Any help appreciated. Regards Eric activity_main.xml

    LogCat Dump

    10-30 17:36:54.762: I/dalvikvm(1792): Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
    10-30 17:36:54.762: W/dalvikvm(1792): VFY: unable to resolve virtual method 11378: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
    10-30 17:36:54.762: D/dalvikvm(1792): VFY: replacing opcode 0x6f at 0x0000
    10-30 17:36:54.772: I/dalvikvm(1792): Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
    10-30 17:36:54.772: W/dalvikvm(1792): VFY: unable to resolve virtual method 11384: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
    10-30 17:36:54.772: D/dalvikvm(1792): VFY: replacing opcode 0x6f at 0x0000
    10-30 17:36:54.782: I/dalvikvm(1792): Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
    10-30 17:36:54.782: W/dalvikvm(1792): VFY: unable to resolve virtual method 8957: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()V
    10-30

    D D 2 Replies Last reply
    0
    • E ericgahn

      Hi All; Please help as I am going nuts. Whenever I start a new application I always run it 'naked' just to confirm that everything is ok. From this afternoon all applications I create are coming up with the error as in the logcat dump below. As far as I can see the activity_main.xml file is correct and there is only this one form in the project. All old applications run ok without hiccups. Any help appreciated. Regards Eric activity_main.xml

      LogCat Dump

      10-30 17:36:54.762: I/dalvikvm(1792): Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
      10-30 17:36:54.762: W/dalvikvm(1792): VFY: unable to resolve virtual method 11378: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
      10-30 17:36:54.762: D/dalvikvm(1792): VFY: replacing opcode 0x6f at 0x0000
      10-30 17:36:54.772: I/dalvikvm(1792): Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
      10-30 17:36:54.772: W/dalvikvm(1792): VFY: unable to resolve virtual method 11384: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
      10-30 17:36:54.772: D/dalvikvm(1792): VFY: replacing opcode 0x6f at 0x0000
      10-30 17:36:54.782: I/dalvikvm(1792): Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
      10-30 17:36:54.782: W/dalvikvm(1792): VFY: unable to resolve virtual method 8957: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()V
      10-30

      D Offline
      D Offline
      Dominic Burford
      wrote on last edited by
      #2

      In your RelativeLayout section try substituting "match_parent" with "wrap_content"

      "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare

      E L 2 Replies Last reply
      0
      • E ericgahn

        Hi All; Please help as I am going nuts. Whenever I start a new application I always run it 'naked' just to confirm that everything is ok. From this afternoon all applications I create are coming up with the error as in the logcat dump below. As far as I can see the activity_main.xml file is correct and there is only this one form in the project. All old applications run ok without hiccups. Any help appreciated. Regards Eric activity_main.xml

        LogCat Dump

        10-30 17:36:54.762: I/dalvikvm(1792): Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
        10-30 17:36:54.762: W/dalvikvm(1792): VFY: unable to resolve virtual method 11378: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
        10-30 17:36:54.762: D/dalvikvm(1792): VFY: replacing opcode 0x6f at 0x0000
        10-30 17:36:54.772: I/dalvikvm(1792): Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
        10-30 17:36:54.772: W/dalvikvm(1792): VFY: unable to resolve virtual method 11384: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
        10-30 17:36:54.772: D/dalvikvm(1792): VFY: replacing opcode 0x6f at 0x0000
        10-30 17:36:54.782: I/dalvikvm(1792): Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
        10-30 17:36:54.782: W/dalvikvm(1792): VFY: unable to resolve virtual method 8957: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()V
        10-30

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Are you using Eclipse or Android Studio? If the former, are there any syntax errors (red X on the left side) with that XML file? Also, should tools:context be "com.example.mysecondapp.MainActivity" instead?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        E 1 Reply Last reply
        0
        • D Dominic Burford

          In your RelativeLayout section try substituting "match_parent" with "wrap_content"

          "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare

          E Offline
          E Offline
          ericgahn
          wrote on last edited by
          #4

          Hi Dominic; Thanks for your reply. I will try it out. Sorry did not reply earlier. I was sick. Eric

          1 Reply Last reply
          0
          • D David Crow

            Are you using Eclipse or Android Studio? If the former, are there any syntax errors (red X on the left side) with that XML file? Also, should tools:context be "com.example.mysecondapp.MainActivity" instead?

            "One man's wage rise is another man's price increase." - Harold Wilson

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

            E Offline
            E Offline
            ericgahn
            wrote on last edited by
            #5

            I use Android Developer Tools which is basically Eclipse from what I can understand.

            L 1 Reply Last reply
            0
            • D Dominic Burford

              In your RelativeLayout section try substituting "match_parent" with "wrap_content"

              "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              I have "match_parent" in mine and it works fine.

              1 Reply Last reply
              0
              • E ericgahn

                I use Android Developer Tools which is basically Eclipse from what I can understand.

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                I think David's second suggestion may be worth looking at.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups