March 3rd, 2011, 11:31 PM
Thread Author (OP)
Join Date: Feb 2011
Carrier: Not Provided
Thanked 1 Time in 1 Post
Eclipse Graphical Layout doesn't like Include?
I have an app where the main.xml file has an <include> tag. The app works as I expect, but whenever I try to show the main.xml's Graphical Layout tab in Eclipse, I get the error:
You must specifiy a valid layout reference. The layout ID @layout/the_include_file is not valid.
Couldn't resolve resource @layout/the_include_file
even though the_include_file.xml not only exists but is in /res/layout.
Is there a way around this, or is this just an Eclipse "feature"?
By the way, the version information (from the About box) is:
Version: Helios Service Release 1
Build id: 20100917-0705