How to solve build failure with cordova-plugin-fcm?

Please try this solution.