Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
822 views
in Technique[技术] by (71.8m points)

linux - Logcat show invisible messages in Eclipse Mars

My PC running on Debian Jessie & Logcat's messages are all invisible on eclipse Mars. I tried a solution here, but no help. What to do now?

Screenshot

---------- UPDATE ----------

I tried the followings:

  1. Change logcat/ddms's metadata settings in com.android.ide.eclipse.ddms.prefs file.
  2. Don't use GTK3 by export SWT_GTK3=0

But both failed to fix the situation.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I had a similar problem (Eclipse Mars on Arch Linux) and it turned out to be a GTK issue. The solution was to add the following two lines

--launcher.GTK_version
2

in eclipse.ini right before the

--launcher.appendVmargs

line, as explained in https://bbs.archlinux.org/viewtopic.php?id=200053 Note that the location of eclipse.ini is distro specific (in my case it was under /usr/lib/eclipse) and multiple copies of the file in different directories can override the same setting, so make sure you are adding the lines in the right place.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...