Saturday, February 22, 2014

Help Permission Denial problem


In doing alarm interface, encounter the following issues, please help how to solve, thank you!

09-26 01:41:51.077: E / AndroidRuntime (2098): java.lang.RuntimeException: Unable to start activity ComponentInfo {com.bird.iphonealarmclock / com.bird.iphonealarmclock.IPhoneAlarmClock}: java.lang.SecurityException: Permission Denial: opening provider com.android.deskclock.AlarmProvider from ProcessRecord {4061e9a8 2098: com.bird.iphonealarmclock/10045} (pid = 2098, uid = 10045) requires null or null

09-26 01:41:51.077: E / AndroidRuntime (2098): Caused by: java.lang.SecurityException: Permission Denial: opening provider com.android.deskclock.AlarmProvider from ProcessRecord {4061e9a8 2098: com.bird.iphonealarmclock/10045 } (pid = 2098, uid = 10045) requires null or null

<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Is not manifest to declare rights, or that they can not use this api
Reply:
http://univasity.iteye.com/blog/998795
Reply:
Or is the wrong package path activity?
Reply:
cited a floor reply:
is not manifest to declare rights, or that they can not use this api


Oh, that's how to solve it?
Reply:
For reference: http://hi.baidu.com/gaogaf/item/c2165abf1a073b42bb0e1240
Reply:
references, 4th Floor reply:
cited a floor reply:


Is not manifest to declare rights, or that they can not use this api

Oh, that's how to solve it?


Probably not use this api, I want to access the alarm because of the database.
Reply:
I also encountered the same problem


E / AndroidRuntime (1797): java.lang.RuntimeException: Unable to start activity ComponentInfo {com.example.com.ssprd.srt.tphone / com.example.com.ssprd.srt.tphone.MainActivity}: java.lang. SecurityException: Permission Denial: opening provider com.android.settings.timerpower.AlarmProvider from ProcessRecord {41596740 1797: com.example.com.ssprd.srt.tphone/10056} (pid = 1797, uid = 10056) that is not exported from uid 1000

I ask you how to solve?

Thank you
Reply:
Need to add properties in tag android: exported = "true"
Reply:
reference to the 8th floor u011819577 reply:
need to add properties in tag android: exported = "true"



Yes! ! ! ! Help me busy!
Reply:
reference to the 8th floor u011819577 reply:
need to add properties in tag android: exported = "true"

Thank you for the answer to solve my problem

No comments:

Post a Comment