1
我从logcat中得到以下信息:过程不允许自动启动开机完整的广播接收器
08-16 11:34:36.257: W/BroadcastQueue(1040):
Unable to launch app com.abc.xyz/10192 for broadcast Intent
{ act=android.intent.action.BOOT_COMPLETED flg=0x8000010 (has extras) }: process is not permitted to autostart
我的manifest.xml看起来是这样的:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<receiver android:name="com.abc.xyz.BootComplete" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
我已经尝试了这么多方法但它不工作。我知道还有一些其他问题。谢谢。
我认为你需要添加的权限,在'manifest.xml' – Yazan
项值添加此权限 – Arlind
你在内部或外部存储安装应用 – Arlind