Andoid Source Bug Modification Collection--keep updating

Source: Internet
Author: User

BUG001: I'm sorry, * * * has stopped running

Online search problems For many reasons, some people say that things cache is not enough, as a developer, need to solve the problem from the code

For example, this time you encounter a " sorry, Instant has stopped running", instant is an app that is called by a gesture-aware app and does not set the action value by intent communication. The app that launches this instant needs the action's not empty, so error.

Workaround: In the gesture-aware app, initialize the intent instance method, you should set an action value

such as:

Intent i = new Intent ();
I.setclassname (Pkgname,clsname);
I.setflags (Intent.flag_activity_new_task);
I.setaction ("Android.intent.action.MAIN");

Summary: If you encounter this error, you should consider the launch of an APK, is not the need for an action value, and the other apk just did not set this value in the communication of the intent.

Andoid Source Bug Modification Collection--keep updating

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.