Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service
Android 8.0 通过startService开启服务引起crash问题解决方法: Intent intent = new Intent(this, ForegroundService.class); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { startForegroundServi...