Parsing json file: D:\xxx\google-services.json
:processDebugGoogleServices FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugGoogleServices'.
> No matching client found for package name 'com.xx.xxx.xxxxx'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
原因:google-services.json中定义的包名与AndroidManifest.xml中定义的包名不一致。
解决方案:包名改一致。