Now I have the same issue with my next plugin.
com.getcapacitor.community.fcm.FCMPlugin;
Any ideas on how to resolve this? I don’t fancy rebuilding my entire android project each time I add a plugin.
SOLUTION:
I did the following:
ionic build
npx cap sync android
npx cap open android
Build -> Clean Project
File -> Sync Project With Gradle Files
Run