viewgroup
viewgroup
采纳率46.7%
2017-03-31 02:59 阅读 1.9k

adb shell am broadcast

我用adb发送广播,提示我下列错误信息,请问该怎么办啊,我三星S7edg Android7.0系统

Broadcasting: Intent { act=android.net.conn.CONNECTIVITY_CHANGE launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.net.conn.CONNECTIVITY_CHANGE from pid=14063, uid=2000
at android.os.Parcel.readException(Parcel.java:1693)
at android.os.Parcel.readException(Parcel.java:1646)
at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:4012)
at com.android.commands.am.Am.sendBroadcast(Am.java:800)
at com.android.commands.am.Am.onRun(Am.java:408)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:51)
at com.android.commands.am.Am.main(Am.java:125)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

相关推荐