Ok, so I create the project using the android archetype, update the POM to use Android 1.6_r2 and maven-android-plugin 3.0.0-alpha-2, Maven > Update Project Config. Close/Open project/eclipse, open XML and it works. Hope this helps.
On Aug 19, 12:38 pm, bsanders1979 <[email protected]> wrote: > Ok, so it must have been a coincidence that this project started > working. Created a new project from scratch, and I get the same thing. > Stand by the the stacktrace... > > On Aug 19, 12:27 pm, bsanders1979 <[email protected]> wrote: > > > > > > > > > Ok, I think I got it all working now. When I was connecting via Xming, > > certain variables (ie. ANDROID_HOME) were not set (they were in /etc/ > > profile), so I put them in /etc/bash.bashrc. After that, the UI editor > > started working. Still gonna try the mem switches in XP. Getting > > Eclipse + ADT + Maven has just been a complex task. I may try using > > RDP again just for kicks to see if the issue persists. Thanks! > > > On Aug 18, 10:19 pm, Tor Norbye <[email protected]> wrote: > > > > On Thu, Aug 18, 2011 at 6:41 PM, bsanders1979 > > > > <[email protected]> wrote: > > > > In XP, Eclipse just crashes. The memory switches sounds like it's > > > > worth a shot. The other is Debian 6.0. So, that issue is sort of > > > > resolved. I installed xrdp and I would experience the issue via mstsc. > > > > However, if I run Eclipse via Xming, it works. I have now discovered > > > > yet ANOTHER issue, but not sure where the blame lies. If I create an > > > > Android project directly, the layout editor works. If I create the > > > > project using the android-quickstart archetype, I get NPE's. Common > > > > sense tells me it's the archetype. > > > > Can you send me (no need to CC the group) those NPE's? Depending on > > > what they are we might be able to code defensively against some > > > assumptions we may have made. > > > > -- Tor > > > > > On Aug 18, 10:08 am, Tor Norbye <[email protected]> wrote: > > > >> On Wed, Aug 17, 2011 at 7:11 PM, bsanders1979 > > > > >> <[email protected]> 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 > > > >> behttp://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 [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

