android service 报错,android startForegroundService ,调用startForeground还是报错
问题描述android startForegroundService ,调用了startForeground还是报同样错相关代码// 请把代码文本粘贴到下方(请勿用图片代替代码)if (Build.VERSION.SDK_INT >= 26) {this.startForegroundService(new Intent(this, TestService.class));Notificat...