Thank you very much Lei -- I can reproduce it now (and I've submitted
a fix so this will be resolved in the next version). The part I was
missing was creating a new XML file without using the XML template.
There was a bug which caused infinite recursion when the XML menu file
to be opened was empty, which doesn't happen with the XML templates.

-- Tor

On Fri, Apr 15, 2011 at 6:46 PM, Lei Gao <ray.lei....@gmail.com> wrote:
> Hi Tor,
> Have you tried reproducing the problem in a Mac OS X?
> I am using a MacBook and I met the same problem.
> What I did is like the following:
>
> 1. Create a new project of android.
> 2. Right-click on "res" folder, then "New" a folder named "menu".
> 3. Right-click on the "menu" folder, then "New" a file.
> 4. At the New File dialog, input a filename, like menu.xml, then press
> the "finish" button.
> 5. Eclipse hangs......
>
> My developing environment is:
> Mac OS X v10.6.7
> Eclipse IDE for Java Developers
> Version: Helios Service Release 2
> Build id: 20110218-0911
> Android SDK v2.2
>
> Hope the information will be useful for you.
>
>
> On 4月10日, 上午5时53分, Tor Norbye <tnor...@google.com> wrote:
>> On Fri, Apr 8, 2011 at 12:06 PM, Dustin <r.dustin.l...@gmail.com> wrote:
>> > Tor,
>> > Thanks for the input.  I was not aware of the "New Android XML File"
>> > wizard.  I was just creating a new folder called "Menu" and then
>> > placing a new xml inside it called "menu.xml".  After trying the
>> > wizard, everything seems to develop just fine.
>>
>> I'm glad to hear you've got a solution!
>>
>> However, opening the file should never cause the IDE to freeze, so I'd
>> like to find out exactly what you did to see if I can reproduce it
>> here -- and more importantly, fix it. I've tried using the "New XML
>> File" (the builtin Eclipse template instead of the Android specific
>> one) and that too worked for me. So can you tell me in very explicit
>> detail what you did? E.g. you created a folder called "Menu" under
>> "Res", presumably using the new-wizard, and then how did you place a
>> new XML file in there? Using a wizard (if so, which template?), or
>> copying from elsewhere, or did you do it on disk using file explorer
>> or something? If so, what were the exact contents of the file you
>> placed there?
>>
>> Thanks,
>>   Tor
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to