Ionic v1 - Build failed

  • When we run ionic cordova run android --debug on a ionic v1 project, it fails with following build exception

Execution failed for task ‘:processDebugGoogleServices’ . No matching client found for the package name

I have checked the code and the package name is correct. Any pointers on what could be the issue ?