11-18 19:59:38.310:W/DALVIKVM (690): Threadid=1:thread exiting with uncaught exception (GROUP=0X41D9CC50)

Source: Internet
Author: User

Today the code appears W/DALVIKVM (690): Threadid=1:thread exiting with uncaught exception (GROUP=0X41D9CC50) This problem, Later, the check found that the name of the control in the XML file is wrong, summed up the following to avoid repeated:

1. It may be related to forced type conversions of the Findviewbyid () method, such as (TextView) Findviewbyid (R.id.button), which converts different types of controls to each other when casting a type. If R.id.button is the ID of the button but is forced to convert with TextView;

2. There may be an error in the name of the control in the XML file, such as (TextView) Findviewbyid (R.id.text_view) But the XML file is written in <textview android:id= "@+id/text_view" ;/> this error in the wrong name of the control is not checked in eclipse.

11-18 19:59:38.310:W/DALVIKVM (690): Threadid=1:thread exiting with uncaught exception (GROUP=0X41D9CC50)

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.