Android-Eclipse:Logcat用不了Could not create the view: For input string:name

本文介绍了在使用Eclipse开发Android应用过程中遇到的Logcat无法使用的问题及其解决办法。问题表现为Logcat视图中出现特定错误信息,原因是过滤器设置不当。通过修改工作空间中的配置文件,清空特定配置项,可以恢复正常。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

使用Eclipse开发android应用,但突然logcat用不了了!报错:Could not create the view: For input string: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= 

转载于:https://www.cnblogs.com/crane13/archive/2013/05/31/3150183.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值