Ok, I found it. Seems the resources are built using the aapt.exe command line. This means, only physical files are taken into account...
Anyone has an idea on a workarround for this? - to also make the linked files be physically included in the RES folder but also be updated if the source changes? Without using symlinks and stuff like that? Thank you, BR, Adrian Vintu On Mon, Feb 22, 2010 at 2:28 PM, Adrian Vintu <[email protected]> wrote: > Hi all, > > I am trying to include a layout xml in an Android project from a Java > project - using new file -> link to file system. > > It looks like this in .project: > > <linkedResources> > <link> > <name>res/layout/main.xml</name> > <type>1</type> > <locationURI>ANDROID_COMMON_RES/layout/main.xml</locationURI> > </link> > </linkedResources> > > The xml looks ok in Eclipse, i can edit it and i get the ADT layout editor, > but unfortunately the layout is not generated, and does not appear in R.java > - R.layout.main. > > When making a build, the apk does NOT contain the main.xml file :( > > Does anyone have a clue about this? My google-fu has failed me :( > > BR, > Adrian Vintu > > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

