在Eclipse Mars中,Logcat显示不可见的消息 [英] Logcat show invisible messages in Eclipse Mars

查看:118
本文介绍了在Eclipse Mars中,Logcat显示不可见的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑运行在Debian Jessie&日食火星上的日志信息都是不可见的。我试过一个解决方案
请注意, eclipse.ini是特定于发行版(在我的例子中是/ usr / lib / eclipse),不同目录中的文件的多个副本可以覆盖相同的设置,因此请确保在正确的位置添加行。 p>

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?

---------- 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.

解决方案

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.

这篇关于在Eclipse Mars中,Logcat显示不可见的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆