运行spacemacs 0.200.9@25.1.1 每次我启动spacemacs时都会出现以下错误,并且不确定如何解决它。
public void testAlarmButton() {
AlarmManager alarmManager = (AlarmManager) getContext().getSystemService(Context.ALARM_SERVICE);
Intent intent = new Intent(getContext(), AlertReceiver.class);
PendingIntent alarmIntent = PendingIntent.getBroadcast(getContext(), 0, intent, 0);
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(System.currentTimeMillis());
calendar.set(Calendar.HOUR_OF_DAY, 18);
calendar.set(Calendar.MINUTE, 20); //goes off immediatly if it is later than 18:20
alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), 1000 * 60 * 60 * 24, alarmIntent);
}
尝试使用Google搜索问题,有人建议切换到我不知道该怎么做的开发分支。
由于