悲剧的,又重装eclipse,又重装ADT。结果是这原因。纠结。

 logcat报错:Could not create the view: For input string: ""

出此错的原因是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即可

posted on 2011-07-16 10:35  stay  阅读(886)  评论(0编辑  收藏  举报