这里是您的解决方案,你做了一个愚蠢的错误,哥们。
它不应该是
.setNegativeButton("Don't Remind", new OnClickListener()
它应该是
.setNegativeButton("Don't Remind", new DialogInterface.OnClickListener()
The method setPositiveButton(int, DialogInterface.OnClickListener) in the type AlertDialog.Builder is not applicable for the arguments (String, new View.OnClickListener(){})
这里是您的解决方案,你做了一个愚蠢的错误,哥们。
.setNegativeButton("Don't Remind", new OnClickListener()
它应该是
.setNegativeButton("Don't Remind", new DialogInterface.OnClickListener()