File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes TextView error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "TextView error" Watch "TextView error" New topic

TextView error

Naishadh Parmar
Ranch Hand

Joined: Jun 02, 2011
Posts: 95

Okay I have this code in an xml file:

But I get this error:

Incorrect line ending: found carriage return (\r) without corresponding newline (\n)

I don't know what's the problem.

Can anyone help me with this
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

You code looks fine to me don't know why this stupid error coming.
Try these different solution mentioned under thread.

hope it helps.

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Naishadh Parmar
Ranch Hand

Joined: Jun 02, 2011
Posts: 95

Thank you but my problem was resolved in an another way.

But thanks
I agree. Here's the link:
subject: TextView error
Similar Threads
list view problem
Layout issue-footer image to the bottom of screen (Landscape & portrai) irrespective of body content
display in output is not seen for addition program
ListView Problem
how to use tamil fonts in android mobile