升级的Google服务为我提供了“找不到匹配的客户”。错误

发布于 2025-02-11 11:41:46 字数 262 浏览 2 评论 0原文

当我升级项目时,

classpath 'com.google.gms:google-services:4.3.10'

classpath 'com.google.gms:google-services:4.3.12'

给了我错误 “没有找到包装名称的匹配客户端。...”

我的项目有很多口味,而且,如果有帮助,这是一个图书馆项目。

你能告诉我修复吗?

When I am upgrading my project from

classpath 'com.google.gms:google-services:4.3.10'

to

classpath 'com.google.gms:google-services:4.3.12'

it is giving me error
"No matching client found for package name ...."

My project has lots of flavors, and also, it is a library project, if this helps.

Can you tell me the fix?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

握住你手 2025-02-18 11:41:46

如果您的applicationID在构建类型之间有所不同,则可以将这些特定的工件添加到特定的依赖性风味中,例如释放图像。

If your applicationId is different between your buildTypes, you can add those particular artifacts to specific dependency flavor like releaseImplementation for example.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文