现在的位置: 首页 > 综合 > 正文

【ddms】 Logcat出错:Could not create the view: For input string: “”

2017年10月29日 ⁄ 综合 ⁄ 共 270字 ⁄ 字号 评论关闭

这个其实是Logcat视图中的filter包含了“:”等无效字符;
解决办法是 更改eclipse的工作空间(workspace)中的文件“.metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.ddms.prefs”。
用记事本打开,将com.android.ide.eclipse.ddms.logcat.filters值设为空即可 (我设置的是直接把等号后面的部分去除掉)
最后,修改了,记得重新启动Eclipse,再次打开logCat就好了。

抱歉!评论已关闭.