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上的第一个快捷方式图标设置为选中状态

你可能感兴趣的:(vmware,android,exception,File,include,browser)