New Android Bug, error parsing app config file

Source: Internet
Author: User


1. The following manifest code, you can throw into one of your activity, and then run the app to see the effect

<intent-filter>                <action android:name= "Android.intent.action.VIEW"/>                <data android: Mimetype= "*/*"/>                <data android:host= "*"/> <data                android:scheme= ""/>            </ Intent-filter>

2. Analysis:

(1) The phenomenon you see should be that the Android framework stops running, and Google + stops running and so on.

(2) for what? The following is no basis for the scrutiny, has not thought about the source, but after testing, probably almost.

First mimetype,host the two global match, in addition to a scheme= "", the system must be resolved when the resolution is not good, as long as these three conditions coexist, will parse the error.

Error entry: Through any of the above three data startactivity will crash, using any of the above data as a filter Packagemanager queryintent will also collapse, In fact, whenever Packagemanager to read the information about the packet that exists in the filter, it throws a parcel parsing exception, and the type is a null pointer.


Interested apes can go to see the implementation of the source code, the use of this bug with root permissions may affect the normal function of all apps on the phone, so hurry to Google bug ah.

BTW, who grilled the real reason, trouble to share with me ha.

New Android Bug, error parsing app config file

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.