Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android logcat messages invisible in eclipse

When a run my android app via eclipse, I can select lines in logcat but no text is rendered. If I select some lines and hit "export to text file" I can see them in the exported file, but this is inconvenient.

I also get a similar problem in the DDMS view. Under "devices," I can select lines that look like they should contain text, but no text is rendered.

I'm running Eclipse Luna with the android plug-in version 23.0.3. My OS is Linux Mint 16 and I'm using Oracle's Java 1.7.0_67. I haven't had this problem in android-studio (although I have to use eclipse for various reasons).

Any idea how to fix this?

EDIT:

I ran eclipse following this guide:

http://blog.vogella.com/2014/02/21/using-eclipse-luna-on-ubunbu/

And now text shows up in my DDMS view, but logcat now only shows the very first letter of each line (like the D for debug or W for warning). The rest is still invisible.

like image 768
bberg Avatar asked Aug 16 '14 01:08

bberg


1 Answers

I had exactly the same problem. I only saw the letter of the Level. No other output showed in LogCat, but when I select a line I could copy/past the text.

I finally found the solution for my problem: The columns on in the output where all pushed to the very right edge of the screen and colapsed. I just changed the size of the columns to see all the conent.

like image 63
mwe Avatar answered Sep 19 '22 19:09

mwe