:O I also had that error a lot of times! Now I undestand this strange 
second error. Fantastic! 2 problems left!

 Thank you very much :D

El viernes, 16 de noviembre de 2012 12:21:13 UTC+1, Tor Norbye escribió:
>
> downThis is intentional.
>
> Many users reported seeing a weird bug when editing XML files (where lines 
> would shift around when they moved the caret etc). We tracked this down to 
> a bug where the layout editor would sometimes incorrectly modify the text 
> file such that it would contain an illegal line terminating sequence (just 
> \r, instead of just \n or \r\n). This made the Eclipse editor extremely 
> confused.
>
> We've fixed that bug now, such that when you're editing files it no longer 
> writes these incorrect line endings. *However*, this does not retroactively 
> fix files you've edited in the past, so just opening one of those files 
> (without layout editing) could still give you the confusing editor behavior.
>
> Therefore, we *also* added a new lint check which looks for files 
> containing wrong line endings like this, and that's the error message 
> you're seeing. Simply open up the file and invoke Ctrl-1; that will show 
> the available quickfixes, and there's a quickfix for this line warning 
> which will go and clean up the line endings in the given file.
>
> -- Tor
>
>
>
> On Thu, Nov 15, 2012 at 9:06 AM, α Centauri <[email protected]<javascript:>
> > wrote:
>
>>
>> I work over windows 7 x64 eclipse Juno. All was fine until today. Today 
>> Eclipse loaded slowly so I look for new udates of android just in case 
>> eclipse was updating something or so. I looked that it was a new version of 
>> ADT so I installed. I have seen the video with the new options to know how 
>> your layer is shown in diferent mobiles so I tryed. I click  in 2 xml and 
>> now Eclipse don't want to compile the project. When I say "click" I mean 
>> click. I just open an xml file in the graphic mode and click a button or a 
>> layout and Eclipse shows me:
>>
>> Incorrect line ending: found carriage return (\r) without corresponding 
>> newline (\n) 
>>
>> in line: 
>>
>> android:layout_height="wrap_content">
>>
>>  
>> and in line: 
>>
>> android:orientation="horizontal">
>>
>>
>> I downloaded again Eclipse Juno. The error is still alive. I started an 
>> old version of Eclipse Indigo. There weren't any errors of compilation. I 
>> compiled my app and all was fine but then I tried to "click" again and 
>> after this now Indigo also says that I have an error. What's going on? Is 
>> it April fools' day?
>>  
>> -- 
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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

Reply via email to