Execution failed for task’:xxx:processDebugGoogleServices’ No matching client found for pack ‘xxx’
笔者出现这个错,主要是因为用到了Google 的 GCM,出现这个原因主要是 applicationid 和 google-servies.json 文件里面的 package_name 不一样造成的,所以主要是 build.gradle 和 google-services.json 文件的 修改为一致的就能解决这个问题。

本文介绍了如何解决因applicationid与google-services.json文件中package_name不一致导致的任务执行失败问题。主要通过修改build.gradle和google-services.json文件来确保两者的一致性。
1万+

被折叠的 条评论
为什么被折叠?



