Android-Eclipse:Logcat用不了Coul…

来源:互联网 发布:et纸样软件下载 编辑:程序博客网 时间:2024/05/10 15:21

使用Eclipse开发android应用,但突然logcat用不了了!报错:Could notcreate the view: For inputstring:name。使用不了logcat调试程序!遂网上求解:

出此错的原因是Logcat视图中的filter包含了“:”

解决方法是:更改eclipse的工作空间(workspace)中的文件“.metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.ddms.prefs”。将com.android.ide.eclipse.ddms.logcat.filters值设为空即可。

#Tue Jul 19 18:33:04 CST 2011 
threadPanel.stack.col0=117 
emulatorControl.waypoint.desc=111 

emulatorControl.track.first=129 

com.android.ide.eclipse.ddms.logcat.message=2040 

emulatorControl.waypoint.elevation=57 

com.android.ide.eclipse.ddms.explorer.permissions=75 

com.android.ide.eclipse.ddms.explorer.time=45 
com.android.ide.eclipse.ddms.logcat.filters=bearing\:\:2\:bearing\:| 


最后一行改为:com.android.ide.eclipse.ddms.logcat.filters= 

原创粉丝点击