错误:Notification.Builder 类型的方法 build() 未定义
我添加了 android-support-v4.jar 仍然出现错误?
Notification notification = new Notification.Builder(context)
.setContentText(message)
.setContentTitle(context.getString(R.string.app_name))
.setSmallIcon(icon)
.setWhen(when)
.setContentIntent(intent).build();