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

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

问题描述

我的电脑在 Debian Jessie &Logcat 的消息在 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?

--------- 更新 ----------

我尝试了以下方法:

  1. 在 com.android.ide.eclipse.ddms.prefs 文件中更改 logcat/ddms 的元数据设置.
  2. 不要通过导出 SWT_GTK3=0 来使用 GTK3

但两者都未能解决问题.

But both failed to fix the situation.

推荐答案

我遇到了类似的问题(Arch Linux 上的 Eclipse Mars),结果证明是 GTK 问题.解决方案是添加以下两行

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

在 eclipse.ini 之前

in eclipse.ini right before the

--launcher.appendVmargs

行,如 https://bbs.archlinux.org/viewtopic.php?id=200053请注意,eclipse.ini 的位置是特定于发行版的(在我的情况下,它位于/usr/lib/eclipse 下)并且不同目录中的文件的多个副本可以覆盖相同的设置,因此请确保在正确的地方.

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.

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

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