开发者

Android emulator don't works with ACTION_BOOT_COMPLETED intent? [closed]

This question is unlikely to help any future visitors; it is only releva开发者_如何转开发nt to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 9 years ago.

Does android emulator work with BOOT_COMPLETED intent and has BOOT_COMPLETED permission? I got "Unknown permission android.permissions.RECEIVE_BOOT_COMPLETED" warning in logs.

  1. manifest.xml

<action android:name="android.intent.action.BOOT_COMPLETED"></action>

<uses-permission android:name="android.permissions.RECEIVE_BOOT_COMPLETED"/>

  1. W/PackageManager( 63): Unknown permission android.permissions.RECEIVE_BOOT_COMPLETED in package com...


I think you have a typo. It should be android.permission.RECEIVE_BOOT_COMPLETED - no "s" on permission.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜