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

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版)
  • 参与学习       19085    人
  • 解答问题       74    个

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

进入课程

android.app.RemoteServiceException: Bad notification for startForeground

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号