升级google-services至4.3.14后出现构建错误问题求助
Google Services Plugin 4.3.14 升级后构建失败:No matching client found for package name 'com.unity3d.player'
问题详情
项目原本使用 com.google.gms:google-services:4.3.10 时构建完全正常,但将该插件版本升级至 4.3.14 后,触发以下构建错误:
Execution failed for task ':unityLibrary:processDebugGoogleServices'.
No matching client found for package name 'com.unity3d.player'
项目级 build.gradle 代码
//---------------------------- //build.gradle (project : ---) //---------------------------- allprojects { buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:7.3.1' classpath 'com.google.gms:google-services:4.3.10' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2' } } repositories { google() jcenter() flatDir { dirs "${project(':unityLibrary').projectDir}/libs" } } } task clean(type: Delete) { delete rootProject.buildDir }
诉求
希望该兼容性问题能在 Google Services 插件的后续版本中得到修复。
内容的提问来源于stack exchange,提问作者Jungle Lee
相关产品推荐
相关产品推荐

