应用无法根据设备配置声明不同版本的 Google Play 服务

发布于 2025-01-20 00:32:46 字数 482 浏览 4 评论 0原文

该应用程序无法根据设备配置声明不同版本的Google Play服务。找到以下版本:[0,12451000]

在这里输入图像描述

我的猜测是com.google.android.gms.version的版本是错误的。 但是我不知道0来自哪里。

我通过bugnletool.jar查看清单,看起来是否很好

<meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

?谢谢!

The app cannot declare different versions of Google Play services depending on the device configuration. The following versions were found: [0, 12451000]

enter image description here

My guess is that the version of com.google.android.gms.version is wrong.
But i can not figure out 0 is coming from where.

And i view the manifest via bundletool.jar and it looks fine

<meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

Any ideas? Thanks!

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

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

发布评论

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

评论(1

眼前雾蒙蒙 2025-01-27 00:32:46

我通过更改了这个问题
com.android.applicationcom.android.library.library版本来自7.3.0-alpha 07 to 7.1.2。这
为我工作没有任何问题。

I fixed this problem by changing the
com.android.application and com.android.library version from 7.3.0-alpha 07 to 7.1.2. This
worked for me without any problems.

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