Thanks, I didn't have any reason to try that option because my projects are
building just fine.

Will do this tomorrow and report my findings here (it's 2:40 am in Moscow
right now).

--
Kostya Vasilyev
24.10.2011 2:31 пользователь "Studio LFP" <[email protected]> написал:

> Ok, tested another imported project and it didn't work correctly.
>
> I ran the Android Tools > Fix Project Properties, closed and reopened the
> project. All the layouts seem to load correctly once I did this. This seems
> to be the minimum steps to correct the issue unless there is something else
> I did previously that also helped.
>
> Steven
> Studio LFP
> http://www.studio-lfp.com
>
>
> On Sunday, October 23, 2011 5:26:56 PM UTC-5, Michael A. wrote:
>>
>> Hmm... I don't use underscores in any of my layouts, although I do use
>> them in image file names, strings, etc.
>>
>> Editing the image file names didn't seem to do anything for me,
>> unfortunately.
>>
>> Regards,
>>
>> Michael A.
>>
>> On Oct 24, 12:14 am, Studio LFP <[email protected]> wrote:
>> > Ok found something really strange.
>> >
>> > I reproduced your error and I noticed that my XML files were doing the
>> same
>> > things yours was in a fresh install except one named main.xml. Well, I
>> > noticed that all the others I had had underscores in them, i.e.
>> > main_view.xml.
>> >
>> > I removed the underscore from them and they worked... !?  Check your XML
>>
>> > file names and see if the same thing is happening to you.  Every one of
>> the
>> > files that I removed the underscore from started working right.
>> >
>> > Steven
>> > Studio LFPhttp://www.studio-lfp.com
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Sunday, October 23, 2011 4:40:01 PM UTC-5, Kostya Vasilyev wrote:
>> >
>> > >  Yes.
>> >
>> > > After reinstalling Eclipse, I did a fresh clone of the sources from my
>>
>> > > Mercurial repository and did a fresh import into a new Eclipse
>> workspace.
>> >
>> > > My .metadata directory is not checked in, so Eclipse created a new
>> one.
>> >
>> > > Oh, and the issue occasionally occurs for me under Ubuntu 11 (.04, I
>> > > believe - don't use it much).
>> >
>> > > -- Kostya
>> >
>> > > 24.10.2011 1:14, Studio LFP пишет:
>> >
>> > > What's recommended and what works are not always the same thing.
>> >
>> > > Have you and Michael A. both been opening an existing Workspace even
>> after
>> > > a fresh install of Eclipse? A lot of settings for Eclipse are stored
>> in the
>> > > metadata directory of the Workspace and it might be hanging on to some
>> of
>> > > the settings you don't want.
>> >
>> > > Have either of you tried using a new clean Workspace and see if the
>> > > problems still exist?
>> >
>> > > Steven
>> > > Studio LFP
>> > >http://www.studio-lfp.com
>> >
>> > > On Sunday, October 23, 2011 3:07:46 PM UTC-5, Kostya Vasilyev wrote:
>> >
>> > >>  The install doc says that Classic is the recommended edition for
>> Android:
>> >
>> > >>http://developer.android.**com/sdk/installing.html#**Preparing<http://developer.android.com/sdk/installing.html#Preparing>
>> >
>> > >> I used to use the Java edition, the issue originally started
>> occurring
>> > >> there.
>> >
>> > >> -- Kostya
>> >
>> > >> 24.10.2011 0:00, Studio LFP пишет:
>> >
>> > >> You keep referring to Eclipse 3.7.1 Classic, have you tried Eclipse
>> IDE
>> > >> for Java Developers to see if you get the same results?
>> >
>> > >> The Classic package is definitely larger and may come with something
>> that
>> > >> is fighting for default privileges for the XML files.
>> >
>> > >> I've done multiple clean installs of Eclipse IDE for Java Developers
>> + ADT
>> > >> and haven't run into this issue.  I also have a tendency to have
>> multiple
>> > >> Eclipse installs and specialize them as a lot of the plugins don't
>> like to
>> > >> play nice with each other.
>> >
>> > >> Might be worth a shot to get that resolved.
>> >
>> > >> Steven
>> > >> Studio LFP
>> > >>http://www.studio-lfp.com
>> >
>> > >> On Sunday, October 23, 2011 11:40:54 AM UTC-5, Kostya Vasilyev wrote:
>>
>> >
>> > >>> That's interesting. While trying to resolve this, I did a clean
>> install
>> > >>> (unzip) of Eclipse 3.7.1 and a new install of ADT.
>> >
>> > >>> Filed a bug here:
>> >
>> > >>>http://code.google.com/p/**android/issues/detail?id=21124<http://code.google.com/p/android/issues/detail?id=21124>
>> >
>> > >>> -- Kostya
>> >
>> > >>> 23.10.2011 9:58, Walt Armour пишет:
>> > >>> > I'm seeing this behaviour as well.   I just had a disk crash and
>> had
>> > >>> > to reinstall all of Eclipse and the Android SDK.
>> >
>> > >>> > Previously I was running Eclipse Helios with the latest Android
>> SDK
>> > >>> > and latest ADT (r14).  All XML files opened automatically with the
>>
>> > >>> > appropriate Android XML helper/editor.
>> >
>> > >>> > This morning I reinstalled (not the OS, just the dev bits) and put
>> on
>> > >>> > Eclipse Indigo along with the same SDK and ADT versions (new
>> installs,
>> > >>> > but same versions).  Now the XML files only open with the default
>> > >>> > Eclipse XML editor.  The right-click, open with.. part will open
>> them
>> > >>> > with the ADT helpers.
>> >
>> > >>> > This is also on Windows 7 x64.  The new (broken?) behaviour has
>> > >>> > persisted across reimporting the project and reinstalling the ADT.
>>
>> >
>> > >>> > Does anyone know of a switch that can be set or preferences to
>> tweak
>> > >>> > or anything that will provide the correct behaviour?  I'm
>> wondering if
>> > >>> > the behaviour will return if I reinstall Helios but I'm not quite
>> > >>> > ready to do that.
>> >
>> > >>> > On Oct 19, 9:34 am, Kostya Vasilyev<[email protected]>  wrote:
>> > >>> >> With the two recent releases of ADT (it seems), my XML files by
>> > >>> default
>> > >>> >> don't open with the appropriate Android editor. The editor they
>> open
>> > >>> >> with is not the plain text editor, but rather some kind
>> structured
>> > >>> >> editor with XML tag highlighting, and a "Design" tab that lists
>> the
>> > >>> XML
>> > >>> >> file structure.
>> >
>> > >>> >> Earlier, Android layout XML files would open with the ADT layout
>> > >>> editor,
>> > >>> >> and other Android-specific XML files would open with Android
>> specific
>> > >>> >> editors as well. It seems like this broke with ADT 13, or maybe
>> after
>> > >>> I
>> > >>> >> switched to Eclipse 3.7, I'm not sure.
>> >
>> > >>> >> I tried using Eclipse preferences to associate *.xml files with
>> the
>> > >>> >> Android Layout editor, but that affects values/*.xml, menu/*.xml,
>>
>> > >>> etc.,
>> > >>> >> with very interesting effects.
>> >
>> > >>> >> It is possible to right click on a file and select Open With, but
>> I
>> > >>> also
>> > >>> >> like to use Ctrl+Shift+R to navigate among my XMLs more quickly.
>> >
>> > >>> >> Is anyone else seeing this? Is there a fix?
>> >
>> > >>> >> Oh, and I just reinstalled Eclipse 3.7.1 Classic from scratch, as
>> well
>> > >>> >> as ADT r14. Made no difference. I'm on Windows 7 / 64 bit, which
>> has
>> > >>> not
>> > >>> >> changed either.
>> >
>> > >>> >> --
>> > >>> >> Kostya Vasilyev
>> >
>> > >>> --
>> > >>> Kostya Vasilyev
>> >
>> > >> --
>> > >> 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<http://groups.google.com/group/android-developers?hl=en>
>> >
>> > >> --
>> > >> Kostya Vasilyev
>> >
>> > >>  --
>> > > 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<http://groups.google.com/group/android-developers?hl=en>
>> >
>> > > --
>> > > Kostya Vasilyev
>
>  --
> 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

-- 
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

Reply via email to