BOOT_COMPLETED not received
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have created an Android application that should start a service after BOOT. It works just fine on a Nexus 5 phone, but I can not make it work on a Huawei tablet (Mediapad X2). I am using Android 5.0 / API 21. The manifest has the proper permissions/intents according to the guidelines. <uses-permission android:name = "android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name = "android.permission.WAKE_LOCK" /> <receiver android:name = ".BootBroadcast" android:enabled = "true" android:exported = "true" android