Thursday, August 18, 2011

Re: [android-developers] ADT - Unable to add widget to layout/Unexplainable crashes

On Wed, Aug 17, 2011 at 7:11 PM, bsanders1979
<briansanders1979@gmail.com> wrote:
> Hello,
> I'm just trying to setup a dev environment so that I can use ADT +
> Maven. I have 2 32-bit boxes (XP/Debian 6.0) that are failing to work
> properly. I've tried downloading both Helios and Indigo of the Java EE
> distro, and then installing m2e, followed by ADT. In XP, I open
> main.xml (the generated default) and it appears to open, but then
> suddenly crashes. I'm not seeing a log anywhere to indicate what the
> issue is.

Did you mean that the editor fails to open (if so, look in Window >
Show View > Error Log) or did the whole IDE crash?

I don't know if this will work, but the layout editor requires a lot
of memory, so you might try giving Eclipse more memory to see if that
helps.
Open eclipse.ini in your Eclipse install and find the flag
"-Xm<number>m" and change it to say "-Xmx768m".

> In Linux, I attempt to drag a widget onto the canvas (or
> whatever the correct word is), and it just doesn't do anything. At
> first, it looks like the grabbing hand with a + next to it, but the +
> quickly disappears.

Are you running Ubuntu 11.04 by any chance? This sounds like it might be
http://code.google.com/p/android/issues/detail?id=19057
(which sadly we don't know the cause of yet)

-- 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment