0

I am using this tutorial: Android custom notification for developing and android application with custom notifications. Although this app runs perfectly on android 7 and below, but I am unable to run it on android 8 on my onpePlus 3T. Please help.

ashish mishra
  • 1,401
  • 2
  • 10
  • 13

1 Answers1

0

Your tutorial is outdated. If you targeting Android 8.0 (API level 26) you must create at least one notification channel.

Read official notification guide for more info: https://developer.android.com/guide/topics/ui/notifiers/notifications.html#ManageChannels

Kriczer
  • 497
  • 2
  • 12