google-developer-training / android-fundamentals-apps-v2

Other
649 stars 2.63k forks source link

Android Kotlin Fundamentals codelab: #347

Closed ChiaChun-Chen closed 1 year ago

ChiaChun-Chen commented 2 years ago

Describe the problem I don't know whether this is my own problem or not. By following your steps, my app didn't create a channel to submit the notification. But after I add a line "createNotificationChannel();", it works. So I think that it might be that you forgot to add a step for creating the channel in onCreate() in MainActivity.

In which lesson and step of the codelab can this issue be found? Lesson number + step number. 08.2 The alarm manager + step 4

How to reproduce? What are the exact steps to reproduce the problem? After creating createNotificationChannel(), add a step to call it in onCreate().

Versions

  1. What version of Android Studio are you using? 2021.1.1 Patch 2
  2. What API level are you targeting? 32

Additional information Add any other context about the problem here. I am a Chinese student, so if you were not sure what I am saying, I can rewrite it in Chinese. Just call me.

codelab: android-fundamentals