Permission denial appears in Android code debugging:

Source: Internet
Author: User

The following questions have arisen recently in the project
W/activitymanager: Permission denial:starting Intent {cmp=com.android.settings/. Movieviewproxyset} from processrecord{4057a828 1797:com.cooliris.media/10005} (pid=1797, uid=10005) requires null
E/androidruntime (1797): FATAL Exception:main
E/androidruntime (1797): Java.lang.SecurityException:Permission denial:starting Intent {cmp=com.android.settings/. Movieviewproxyset} from processrecord{4057a828 1797:com.cooliris.media/10005} (pid=1797, uid=10005) requires null

And then on-line search, there are several articles are related to this issue but these articles are the same content, are said to be in the androidmanifest of an activity in a number of registrations caused by their own code to check, found that this is not the problem.
But always feel that the problem should still appear in Androidmanifest, and then found that there is no action added to the activity intent, add the action after the problem resolution.

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.