I had the same problem.

It looks like there is a bug somewhere in Eclipse and/or in the
Android plug-in since the only solution to this problem is to edit
a .java file (and not a .xml file) when trying to run the project.
That is to say, you have to open the .java file so you are editing it
when you run the application. Saying it again, you have to open
the .java file in a window (so you are not anymore in a .xml window).

So to conclude, just delete the "main.out.xml" file, open a .java file
(eg: HelloAndroid.java) and click "run".

See: http://www.anddev.org/viewtopic.php?p=25517

On 25 oct, 13:47, "kjell.w.krona" <[email protected]> wrote:
> I just did a fresh install of the latest Eclipse and Androdid SDK. I
> then tried the Hello tutorial, and as long as I do not change any xml
> code; i can create the Hello project and run it in the emulator.
>
> However, as soon as I do even a single edit on a strng inside an xml
> resource file, it all breaks down; while the xml files seems perfecly
> OK, Eclipse reports on the console "[2009-10-25 13:28:09 -
> HelloAndroid] Error in an XML file: aborting build., and there then
> appear a "strings.out.xml" which just seems empty. It appears that the
> editing somehow corrupts the file even though it seems perfectly OK
> ( I even tried to change a string value with the Resource Editor
> instead of editing directly, and also, even if I change the string
> back it still does not work....
>
> I am completely dumbfounded by this. Could i have done some error in
> the installatiion? I thought I followed the instructions on how to add
> the Android plugin et c to the letter?
>
>   - kjell

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to