ERROR: Unable to find module with Gradle path ':capacitor-cordova-android-plugins'
The issue is resolved by syncing Gradle files again manually:
If you cant find the folder capacitor-cordova-android-plugins inside the android project folder, you need to run a capacitor command to create it (and update plugin variables):
npx cap sync