[android-developers] Re: eclipse/sdk combo crash

2011-04-20 Thread Lei Gao
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


Re: [android-developers] Re: eclipse/sdk combo crash

2011-04-20 Thread Tor Norbye
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


Re: [android-developers] Re: eclipse/sdk combo crash

2011-04-09 Thread Tor Norbye
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


Re: [android-developers] Re: eclipse/sdk combo crash

2011-04-08 Thread Tor Norbye
How are you creating the XML file -- using the New Android XML File
wizard, selecting Menu among the type radio buttons? What name are
you choosing? Also, which version of Eclipse and ADT?

If you can generate a thread dump of the frozen IDE, that would help.
For example, use jstack pid. Here are some instructions on how to
obtain a stack trace -
http://wiki.eclipse.org/How_to_report_a_deadlock (but *don't* file a
bug in the Eclipse bug tracker as stated in that document; instead use
http://b.android.com ).

-- Tor

On Thu, Apr 7, 2011 at 2:28 PM, Dustin Lane r.dustin.l...@gmail.com wrote:
 I am having nearly the exact same problem.  If anyone out there has
 any insight, it would greatly be appreciated!

 Thanks,

 On Mar 24, 10:46 pm, Keith Wiley kbwi...@gmail.com wrote:
 If I right-click the res folder of a project, I can create amenu
 folder.  If I right click that folder and try to create amenu.xml
 file,eclipsehangs.  I have to force quit it.  After 
 relaunchingeclipse,menu.xml is there.  I've seen this behavior on two 
 different
 computers now.  If I then try to open the emptymenu.xml to edit it,
 on one computereclipsehangs again, although on the other it opens
 and I can then edit the file.

 I'm runningeclipseHelios and the very latest Android SDK 3.0.  Both
 computers are running Snow Leopard although one is a core 2 duo
 (macbook) and the other is an i7 (macbook pro).

 Anyone else run into this?

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


[android-developers] Re: eclipse/sdk combo crash

2011-04-08 Thread Dustin
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.

Thanks again!

Dustin

On Apr 8, 10:51 am, Tor Norbye tnor...@google.com wrote:
 How are you creating the XML file -- using the New Android XML File
 wizard, selecting Menu among the type radio buttons? What name are
 you choosing? Also, which version of Eclipse and ADT?

 If you can generate a thread dump of the frozen IDE, that would help.
 For example, use jstack pid. Here are some instructions on how to
 obtain a stack trace -http://wiki.eclipse.org/How_to_report_a_deadlock(but 
 *don't* file a
 bug in the Eclipse bug tracker as stated in that document; instead 
 usehttp://b.android.com).

 -- Tor







 On Thu, Apr 7, 2011 at 2:28 PM, Dustin Lane r.dustin.l...@gmail.com wrote:
  I am having nearly the exact same problem.  If anyone out there has
  any insight, it would greatly be appreciated!

  Thanks,

  On Mar 24, 10:46 pm, Keith Wiley kbwi...@gmail.com wrote:
  If I right-click the res folder of a project, I can create amenu
  folder.  If I right click that folder and try to create amenu.xml
  file,eclipsehangs.  I have to force quit it.  After 
  relaunchingeclipse,menu.xml is there.  I've seen this behavior on two 
  different
  computers now.  If I then try to open the emptymenu.xml to edit it,
  on one computereclipsehangs again, although on the other it opens
  and I can then edit the file.

  I'm runningeclipseHelios and the very latest Android SDK 3.0.  Both
  computers are running Snow Leopard although one is a core 2 duo
  (macbook) and the other is an i7 (macbook pro).

  Anyone else run into this?

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


[android-developers] Re: eclipse/sdk combo crash

2011-04-07 Thread Dustin Lane
I am having nearly the exact same problem.  If anyone out there has
any insight, it would greatly be appreciated!

Thanks,

On Mar 24, 10:46 pm, Keith Wiley kbwi...@gmail.com wrote:
 If I right-click the res folder of a project, I can create amenu
 folder.  If I right click that folder and try to create amenu.xml
 file,eclipsehangs.  I have to force quit it.  After 
 relaunchingeclipse,menu.xml is there.  I've seen this behavior on two 
 different
 computers now.  If I then try to open the emptymenu.xml to edit it,
 on one computereclipsehangs again, although on the other it opens
 and I can then edit the file.

 I'm runningeclipseHelios and the very latest Android SDK 3.0.  Both
 computers are running Snow Leopard although one is a core 2 duo
 (macbook) and the other is an i7 (macbook pro).

 Anyone else run into this?

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