Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » ADT problems(xml code mingled)
ADT problems [message #697179] Fri, 15 July 2011 17:59 Go to next message
Angelo Giammarresi is currently offline Angelo GiammarresiFriend
Messages: 7
Registered: July 2011
Location: Italy
Junior Member
Hi,

I was running Helios version and ADT 10.1 then, yesterday I updated to the ADT 12 and SDK r12 successfully.

But when I tried to modify an xml layout started the troubles.

If by chance I try to change one parameter such as "fill_parent" with another selected from the suggestion list in the window opened with ctrl+space, the new parameter set in place correctly but also erase 13digits (or 13spaces as you call I don't know) onward causing the code be mingled.

I tried to reinstall the old ADT but is unavailable on the android site.
I reinstalled Eclipse Helios but nothing.
I downloaded the Indigo and installed after removing the Helios version but nothing the problem persist.
Incredible but true it worked inside Motodev but gave me other problems with graphic display in the strings.xml file and also when saving it gave "error this value has been changed in the filesystem do you want to overwrite".
How can I fix it?
Does someone have same problem?
I run now Indigo 3.7 and I work on XPpro sp3 32bit.

Thank you for helping.
Re: ADT problems [message #697184 is a reply to message #697179] Fri, 15 July 2011 18:03 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
ADT is a tool provided by Google. You should ask your questions on their forums. You will be more likely to get an answer there.
Re: ADT problems [message #697190 is a reply to message #697184] Fri, 15 July 2011 18:19 Go to previous messageGo to next message
Angelo Giammarresi is currently offline Angelo GiammarresiFriend
Messages: 7
Registered: July 2011
Location: Italy
Junior Member
Thank you.
Can you give me the link?
I'm a newcomer ad little I know about this great developer's community

Thanks again
Angelo
Re: ADT problems [message #697211 is a reply to message #697190] Fri, 15 July 2011 19:27 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 15-Jul-11 12:19, Angelo wrote:
> Thank you.
> Can you give me the link?
> I'm a newcomer ad little I know about this great developer's community
>
> Thanks again
> Angelo

http://www.javahotchocolate.com/tutorials/android.html#support
Re: ADT problems [message #697646 is a reply to message #697211] Sun, 17 July 2011 15:23 Go to previous messageGo to next message
Angelo Giammarresi is currently offline Angelo GiammarresiFriend
Messages: 7
Registered: July 2011
Location: Italy
Junior Member
Hi thank you for the link it's of a good use but I suppose you can help me cause the problem is related to eclipse editor.

I tested again and the problem happen inside the xml editor for the layout inside eclipse Helios or Indigo when I try to use quickdiff .
While using quickdiff in java class files like main.R it works correctly replacing old code with the new suggestion without erasing other lines.

It happened since upgrading to ADT 12 but strangely it continue to work fine inside Motodev 2.2.0

Do I have to gave it up Indigo, and use Java perspective from Motodev?
I have no idea what to do more after reinstalling eclipse and ADT 12.

Thank you
Angelo
Re: ADT problems [message #697733 is a reply to message #697646] Sun, 17 July 2011 22:11 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.07.17 9:23, Angelo wrote:
> Hi thank you for the link it's of a good use but I suppose you can help
> me cause the problem is related to eclipse editor.
>
> I tested again and the problem happen inside the xml editor for the
> layout inside eclipse Helios or Indigo when I try to use quickdiff .
> While using quickdiff in java class files like main.R it works correctly
> replacing old code with the new suggestion without erasing other lines.
>
> It happened since upgrading to ADT 12 but strangely it continue to work
> fine inside Motodev 2.2.0
> Do I have to gave it up Indigo, and use Java perspective from Motodev?
> I have no idea what to do more after reinstalling eclipse and ADT 12.
>
> Thank you
> Angelo

You see, the Android development community has chosen to implement their
SDK atop Eclipse. They provide the plug-ins; Eclipse does not. It's not
impossible that there be a problem with Eclipse brought out by ADT, but
it's unlikely. There is, however, behavior that's Eclipse-influenced. I
just worked around it. (Try reading some of my article, written one year
ago).

You'll get a lot more sympathy and help in the Android forums because
that's where Android developers hang out.

Try these forums out. I did when I was doing Android and I got lots of
help from them.

When you ask your question, whether here or in an Android forum, try to
be very specific and think hard about what the reader would want to know
in order to answer.
Re: ADT problems [message #697735 is a reply to message #697646] Sun, 17 July 2011 22:11 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.07.17 9:23, Angelo wrote:
> Hi thank you for the link it's of a good use but I suppose you can help
> me cause the problem is related to eclipse editor.
>
> I tested again and the problem happen inside the xml editor for the
> layout inside eclipse Helios or Indigo when I try to use quickdiff .
> While using quickdiff in java class files like main.R it works correctly
> replacing old code with the new suggestion without erasing other lines.
>
> It happened since upgrading to ADT 12 but strangely it continue to work
> fine inside Motodev 2.2.0
> Do I have to gave it up Indigo, and use Java perspective from Motodev?
> I have no idea what to do more after reinstalling eclipse and ADT 12.
>
> Thank you
> Angelo

You see, the Android development community has chosen to implement their
SDK atop Eclipse. They provide the plug-ins; Eclipse does not. It's not
impossible that there be a problem with Eclipse brought out by ADT, but
it's unlikely. There is, however, behavior that's Eclipse-influenced. I
just worked around it. (Try reading some of my article, written one year
ago).

You'll get a lot more sympathy and help in the Android forums because
that's where Android developers hang out.

Try these forums out. I did when I was doing Android and I got lots of
help from them.

When you ask your question, whether here or in an Android forum, try to
be very specific and think hard about what the reader would want to know
in order to answer.
Re: ADT problems [message #697845 is a reply to message #697735] Mon, 18 July 2011 07:55 Go to previous messageGo to next message
Angelo Giammarresi is currently offline Angelo GiammarresiFriend
Messages: 7
Registered: July 2011
Location: Italy
Junior Member
Hi,
Thank you again.

I supposed was specific in my question and I'm not a proof developer.

I find problems while changing the terms in the xml editor both when I use Eclipse or I run the java perspective from Motodev too. You can see from the screen shot attached.

I suppose is a problem of the ADT because till I haven't made the update everything was working perfectly. When I stated that it worked inside Motodev was because I haven't updated motodev so, it had the old ADT in it's cache or similar I don't know how work such programs.

If you have a work around please help me or indicate me a link to learn it. Attached you find 2 screen shots showing the problem I face.
I run a windows xp professional sp3

Thank you and regards
Angelo

Re: ADT problems [message #697996 is a reply to message #697845] Mon, 18 July 2011 14:50 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 18-Jul-11 01:55, Angelo wrote:
> Hi,
> Thank you again.
>
> I supposed was specific in my question and I'm not a proof developer.
>
> I find problems while changing the terms in the xml editor both when I use Eclipse or I run the java perspective from Motodev too. You can see from the screen shot attached.
>
> I suppose is a problem of the ADT because till I haven't made the update everything was working perfectly. When I stated that it worked inside Motodev was because I haven't updated motodev so, it had the old ADT in it's cache or similar I don't know how work such programs.
>
> If you have a work around please help me or indicate me a link to learn it. Attached you find 2 screen shots showing the problem I face.
> I run a windows xp professional sp3
>
> Thank you and regards
> Angelo

Content Assist is provided by Eclipse, but the content isn't the least
bit dependent upon it. While a picture is worth a thousand words and two
pictures two thousand, a description of what you think is the problem
would be even more worthwhile. From your images, I conclude nothing
except that the second one contains a bad attribute for a Gallery
definition.
Re: ADT problems [message #698012 is a reply to message #697996] Mon, 18 July 2011 15:37 Go to previous messageGo to next message
Angelo Giammarresi is currently offline Angelo GiammarresiFriend
Messages: 7
Registered: July 2011
Location: Italy
Junior Member
Hi,

you don't see the problem? You don't see that in the second picture when I inserted the fill_parent the content assist erased the blank line and the rest of the code was written in the following line ?
I haven't written it cause I already told you in the previous message what was happening. When I insert a new code frome the list this erase also the following digits present in the next lines.
Pictures explain clearly it.
Thank you to help me
Re: ADT problems [message #698029 is a reply to message #698012] Mon, 18 July 2011 15:55 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 18-Jul-11 09:37, Angelo wrote:
> Hi,
>
> you don't see the problem? You don't see that in the second picture when
> I inserted the fill_parent the content assist erased the blank line and
> the rest of the code was written in the following line ?
> I haven't written it cause I already told you in the previous message
> what was happening. When I insert a new code frome the list this erase
> also the following digits present in the next lines.
> Pictures explain clearly it.
> Thank you to help me

Okay, I guess I see.

Does Android now claim to work with Indigo? I know that a year ago, it
claimed only to work with Galileo. I tried it with both Galileo and
Helios. I found both to work, but I haven't tried on Indigo yet. I'm not
an early adopter, I'm afraid.

In your case, it might be worth installing Helios and trying again. I
know that installing everything does take a little time, but it might be
worth it.

No, I've not had the trouble you show before.

Best of luck.

(I would still suggest stackOverflow because of the huge number of
developers there--one of whom just might know a work-around.)
Re: ADT problems [message #699018 is a reply to message #698029] Wed, 20 July 2011 16:36 Go to previous messageGo to next message
Angelo Giammarresi is currently offline Angelo GiammarresiFriend
Messages: 7
Registered: July 2011
Location: Italy
Junior Member
Hi,

Ok no problem.
I got the problem with both Helios and Indigo.
I got it either running directly eclipse or a Java perspective in Motodev.

I wrote to Motodev support and they stated my problem was true.

I found my workaround.

Thank you for your efforts!

bye
Rolling Eyes
Re: ADT problems [message #699117 is a reply to message #697179] Wed, 20 July 2011 21:21 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Problems with ADT should be discussed on the Android developers forum;
although ADT is built on Eclipse, eclipse.org is not the best place to
get support for it.

Eric


On 7/15/11 1:59 PM, Angelo wrote:
> Hi,
> I was running Helios version and ADT 10.1 then, yesterday I updated to
> the ADT 12 and SDK r12 successfully.
>
> But when I tried to modify an xml layout started the troubles.
>
> If by chance I try to change one parameter such as "fill_parent" with
> another selected from the suggestion list in the window opened with
> ctrl+space, the new parameter set in place correctly but also erase
> 13digits (or 13spaces as you call I don't know) onward causing the code
> be mingled.
>
> I tried to reinstall the old ADT but is unavailable on the android site.
> I reinstalled Eclipse Helios but nothing.
> I downloaded the Indigo and installed after removing the Helios version
> but nothing the problem persist.
> Incredible but true it worked inside Motodev but gave me other problems
> with graphic display in the strings.xml file and also when saving it
> gave "error this value has been changed in the filesystem do you want to
> overwrite".
> How can I fix it?
> Does someone have same problem?
> I run now Indigo 3.7 and I work on XPpro sp3 32bit.
>
> Thank you for helping.
Previous Topic:PHP_CodeSniffer not working properly
Next Topic:problem while generating client from wsdl
Goto Forum:
  


Current Time: Thu Apr 25 00:51:08 GMT 2024

Powered by FUDForum. Page generated in 0.09549 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top