android开发过程遇到的问题和解决方案(不断更新)

1、java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

    最近在修改Android自带的Browser,已接近尾声。运行调试的时候遇到以上异常,于是在TabControl.java的方法attachTabToContentView添加 content.removeAllViews();解决了以上异常。可以看看这个http://blog.sina.com.cn/s/blog_5dfce6ca0100mrs7.html


2、虚拟机错误,错误信息如下:
VMware Workstation unrecoverable error: (vmx)
Exception 0xc0000006 (disk error while paging) has occurred.
A log file is available in "E:\amlogic-yan\vmware.log".  A core file is available in "E:\amlogic-yan\vmware-vmx-2776.dmp".  Please request support and include the contents of the log file and core file.  
To collect data to submit to VMware support, choose "Collect Support Data" from the Help menu.
You can also run the "vm-support" script in the Workstation folder directly.
We will respond on the basis of your support entitlement.


解决方案:http://hi.baidu.com/fenglingtoqq/blog/item/069158fac84d8a8d58ee906d.html
将VMSS文件删除即可


3、Android Launcher 图标焦点问题。

修改BubbleTextView.java文件中的init()方法,注释掉如下语句:

// setFocusable(true);//这句代码会让Launcher上的第一个快捷方式图标设置为选中状态

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值