Problems and Solutions encountered during Android Development (constantly updated)

Source: Internet
Author: User

1. java. Lang. illegalstateexception: the specified child already has a parent. You must call removeview () on the child's parent first.

Recently, the browser that comes with Android is coming to an end. When debugging is run, the preceding exception occurs. Therefore, content. removeallviews () is added to attachtabtocontentview in the tabcontrol. Java method. Look at this http://blog.sina.com.cn/s/blog_5dfce6ca0100mrs7.html.


2. virtual machine error. The error message is as follows:
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.

Solution: http://hi.baidu.com/fenglingtoqq/blog/item/069158fac84d8a8d58ee906d.html
Delete the VMSs file.


3. Focus of the android launcher icon.

Modify the init () method in the bubbletextview. Java file and comment out the following statement:

// Setfocusable (true); // This Code sets the first shortcut icon on the launcher to the selected status.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.