2017-09-11 103 views
1

我想问你的帮助。 我遇到了如下棘手的错误,只发生在某个设备“LG棉花糖手机”。W/BroadcastQueue:Appop拒绝:广播意图{act = android.intent.action.BOOT_COMPLETED

< Logcat message> 09-11 16:42:55.725 1654-4655 /? W/BroadcastQueue:Appop Denial:广播Intent {act = android.intent.action.BOOT_COMPLETED flg = 0x8000010(has extras)} from null(pid = 1654,uid = 1000)由于注册的接收者需要appop null abc.example.com .countrylist/.BootUpReceiver。

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 
    <receiver android:name=".BootUpReceiver" 
     android:enabled="true" 
     android:exported="false" 
     android:permission ="android.permission.RECEIVE_BOOT_COMPLETED"> 
     <intent-filter android:priority="999" > 
      <action android:name="android.intent.action.BOOT_COMPLETED" /> 
      <action android:name="android.intent.action.QUICKBOOT_POWERON" /> 
      <category android:name="android.intent.category.DEFAULT" /> 
     </intent-filter> 
    </receiver> 

你的一种提示对我来说是非常有帮助的。 感谢您的评论和反馈。

+0

你能解决吗?我面对与Android 4.4三星旧设备类似的问题 – Amos

回答

0

尝试删除

安卓权限=“android.permission.RECEIVE_BOOT_COMPLETED”

我有这个问题,正是这个消息对Android 6.07.0一点点不同的消息,但不在以前的版本。删除这条线没有诀窍,应用程序再次启动。

相关问题