为了账号安全,请及时绑定邮箱和手机立即绑定

android.app.RemoteServiceException: Bad notification for startForeground

http://img1.sycdn.imooc.com//63426dc20001be5e09790212.jpg



(Build.VERSION.>= Build.VERSION_CODES.) {
  notification: Notification = Notification.Builder().build()
  startForeground( notification)
}



最新的安卓里又不适用了嘛 QAQ

正在回答

举报

0/150
提交
取消
2021Android从零入门到实战(Kotlin版)
  • 参与学习       18126    人
  • 解答问题       71    个

移动端大牛带你快速入门Android

进入课程

android.app.RemoteServiceException: Bad notification for startForeground

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信