Question: I have a Linux system and Windows system send text to each other and each one of them update a text file with the received text, now i have a problem when the text contain LF/CR char, i need to unify the newline char sent by both of them, i tried to use only \n (replacing \r by empty string before sending the string) but it doesn't work , is there a known solution for this issue ?

Answer: 
After reading and investigating into the matter here and all over the net it seems alot of people ran into this problem...   

*(which annoyed the hell out of me & wasted precious dev time),*

***This worked for me:***

**FIRST**

In Eclipse, go to the Project properties -> Java Build Path.  

Select the Order and Export Tab and Uncheck your third party jars.

**NEXT**

Other projects where I followed the same fix pattern, I got an error:

```
09-21 12:58:51.122: E/AndroidRuntime(27033): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.ndroidians.listfrag/com.ndroidians.listfrag.MainActivity}: java.lang.ClassNotFoundException: com.ndroidians.listfrag.MainActivity

```

After reading a few posts here I just went to manifest and reselected the activity in the GUI:
AndroidManifest.xml -> Application tab -> Application Nodes -> MainActivity -> (Right hand side parameters) Name -> Browse -> Choose you activity again

That fixed other projects problems with newrelic.

newrelic people: maybe you should consider more then twice before releasing a component that meddles with android API, and causes alot of people anguish and time waist!!!

I have submitted several tickets since first installation of your component BUT I guess - in vain!
This issue is typically seen after upgrading to ADT 22, you may see "java.lang.NoClassDefFoundError" when attempting to run your project. This is because sometimes, when upgrading to ADT 22, the new Android Private Libraries is not checked in the Order and Export of your Java Build Path.

To fix this:

In Eclipse, click your project.
Select File > Properties.
Click Java Build Path > Order and Export.
Check the box for Android Private Libraries, and click OK.
Clean your project by selecting Project > Clean.