Execution failed for task':xxx:processDebugGoogleServices' No matching client found for pack 'xxx'

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 文件的 修改为一致的就能解决这个问题

这里写图片描述

这里写图片描述

猜你喜欢

转载自blog.csdn.net/csdn2314/article/details/79608054
今日推荐