Logcat出错:Could not create the view: For input string:
来源:互联网 发布:java注释规范整理 编辑:程序博客网 时间:2024/06/05 06:09
使用eclipse开发android应用已经一年多了,但今天很不辛的遇到了logcat报错:Could not create the view: For input string: "";再也使用不了logcat调试程序了,为了能正常调试,开始查找出错原因并解决它,因为ADT的版本不是最新的,所以先更新到最新版本,然后重启eclipse但是问题依旧,在eclipse安装目录中查看安装文件没发现能修正此问题的解决方法,无奈之下更换个新的工作空间后发现logcat可以正常显示了,仔细查看工作空间中的setting文件夹中的配置,终于发现了问题所在:
出此错的原因是Logcat视图中的filter包含了“:”(见下面最后一条);
#Tue Jul 19 18:33:04 CST 2011threadPanel.stack.col0=117emulatorControl.waypoint.desc=111emulatorControl.track.first=129com.android.ide.eclipse.ddms.logcat.message=2040emulatorControl.waypoint.elevation=57com.android.ide.eclipse.ddms.explorer.permissions=75com.android.ide.eclipse.ddms.explorer.time=45com.android.ide.eclipse.ddms.logcat.filters=bearing\:\:2\:bearing\:|
解决方法是:更改eclipse的工作空间(workspace)中的文件“.metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.ddms.prefs”。
将com.android.ide.eclipse.ddms.logcat.filters值设为空即可。
com.android.ide.eclipse.ddms.logcat.filters=
转自:http://blog.csdn.net/jj_zerogra/article/details/5956055,上面的配置乃我自己的,非原创作者的。
0 0
- Logcat出错:Could not create the view: For input string: ""
- Logcat出错:Could not create the view: For input string: ""
- Logcat出错:Could not create the view: For input string:
- 【ddms】 Logcat出错:Could not create the view: For input string: ""
- Android Logcat 报错:Could not create the view: For input string: ""
- Logcat出错:Could not create the view -Logcat 不能显示,但是(Logcat(deprecated))可以显示
- RFT 'Could not create the view: ' 解决办法
- Eclipse:Could not create the view:解决办法
- Eclipse:Could not create the view:解决办法
- 异常之 Could not create the view: An unexpected exception was thrown.(server出错)
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown
- Tips002 - Eclipse "Could not create the view" 问题解决方案
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown.
- Eclipse使用问题—svn Could not create the view
- GDB学习:4
- laravel打印sql
- iOS开发—HTTP协议总结一
- java notify wait
- 类 System
- Logcat出错:Could not create the view: For input string:
- 【OpenCV入门指南】第十三篇 人脸检测
- 【Android解决方案】GridView第一次选中不调用onItemSelected()的解决办法
- Java图形化界面设计——容器(JFrame)
- 动态实现二级下拉框(有点乱)
- CodeForces 466A Cheap Travel
- 几种浏览器常见的术语
- 链表部分小结
- Exynos 4412处理器IIC总线控制器(包括协议)