android notification pendinintent issue wrong 3rd argument type

在我的app中,我在第一次使用notification的時候出現錯誤。 報錯:android notification pendinintent issue wrong 3rd argument type 下面的報錯截圖 分析:我只需要把PendingIntent.getActivity() 改爲 PendingIntent.getActivities() 下圖爲官方文檔
相關文章
相關標籤/搜索