错误:
Error:(182, 10) 错误: 找不到符号
符号: 方法 setLatestEventInfo(AlarmAlertFullScreen,String,String,PendingIntent)位置: 类型为Notification的变量
Error:(181, 10) 错误: 找不到符号
符号: 方法 setLatestEventInfo(Context,String,String,PendingIntent)
位置: 类型为Notification的变量 n
解决方法:
API 23 中删除了这个方法,可以选择降低API
android { compileSdkVersion 22 降低23以下 buildToolsVersion "23.0.3" defaultConfig {