debug
烁灵
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
android犯错日记1
状况: 调试自定义view的时候出错,setContentView出错。 原因: 自定义view未重写参数为super(Context, AttributeSet)形式的构造函数原创 2013-02-08 21:56:08 · 438 阅读 · 0 评论 -
android犯错日记2
状况: 尝试用intent打开自己的另一个activity时出错 原因: 该activity未在Androidmanifest.xml中注册。原创 2013-02-08 22:03:24 · 315 阅读 · 0 评论 -
android犯错日记3
情况: 使用httpconnection访问http://localhost/xxx出错,信息为http://localhost refused 解决: 访问本地的话不能使用localhost,要使用实际IP,比如192.168.0.101原创 2013-02-17 02:01:51 · 333 阅读 · 0 评论 -
android犯错日记4
情况: 点击登录按钮出错,提示android.os.NetworkOnMainThreadException 原因: 在主线程中访问了网络 API-9以上可以使用 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectDiskReads().detectDiskWrites().detectNetwo原创 2013-03-03 15:35:27 · 326 阅读 · 0 评论 -
android犯错日记5
情况: 在string.xml里写项目 %s/%s 题 时出错,提示 Multiple annotations found at this line: - error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false"原创 2013-03-08 16:49:01 · 589 阅读 · 0 评论 -
android犯错日记6
尝试使用fragment的时候出错 错误信息: Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class fragment 解决: 1.首先参考了别人的解决方法: 在Activity中静态使用fragment的时候,要注意两个地方。 Fragment引用的包是: im原创 2013-05-17 10:27:57 · 586 阅读 · 0 评论 -
windows下打开软件提示 未找到提供程序 该程序可能未正确安装
多发生在vb程序访问access时 解决: 开始->运行->regsvr32 msjetoledb40.dll原创 2013-09-29 14:33:41 · 3596 阅读 · 0 评论 -
EXT复合表头谷歌浏览器Chrome错位解决办法
转载自:http://www.oschina.net/code/snippet_201314_15163Ext.override(Ext.grid.GridView,{ getColumnStyle : function(colIndex, isHeader) { var colModel = this.cm, colConfig = colModel.config, styl转载 2013-12-12 14:52:20 · 1154 阅读 · 0 评论 -
Eclipse failed to create the java virtual machine简单解决
打开eclipse的时候出现Eclipse failed to create the java virtual machine弹窗。谷歌无解,全是抄的。原创 2014-05-05 09:00:41 · 662 阅读 · 0 评论
分享