Android O reporting notification not posted to channel - but it is

前端 未结 8 1373
礼貌的吻别
礼貌的吻别 2020-12-05 06:52

Couple Android O notification questions:

1) I have created a Notification Channel (see below), am calling the builder with .setChannelId() (passing in the name of th

8条回答
  •  一整个雨季
    2020-12-05 07:06

    I would also like to add that you will receive this error if you're using Build tools v26+:

    app/build.grade:

    compileSdkVersion 26
    buildToolsVersion "26.0.2"
    
    defaultConfig {
        targetSdkVersion 26
    

    Downgrading to lowest version should work fine.

提交回复
热议问题