发行使用Google Play帐单的旧版本

发布于 2025-02-13 01:59:36 字数 2312 浏览 2 评论 0 原文

我已经搜索了几个小时,但是我似乎找不到 Google Play帐单库应用程序内计费API 的答案其中正在引起下面的错误消息:

Release uses an old version of Google Play Billing

我正在阅读有关 Google Play帐单库在这里: https://developer.android.com/google/play/play/billing/integrate/integrate in-app incapp billing api api 在这里: http://android.cn-mirrors.com/google/play/play/billing/billing_overview.html

我真的很困惑,整个困惑开始了,因为我试图部署一个旧的旧在Google Play上的应用程序很久以前就启动了其他人,但是出现了错误:

Release uses an old version of Google Play Billing

因此,我开始查看该应用程序使用的帐单库的哪个版本,但找不到它。从 androidmanifest.xml 我可以看到:

<uses-permission android:name="com.android.vending.BILLING" />

从Android项目中的一个文件中,我看到的:

import com.android.vending.billing.IInAppBillingService;

您可以看到它并没有真正告诉我库是什么版本。

我没有Google Play商店的经验,我开始查找 Google Play帐单库,我看到的是:

To be compliant, apps must import version 4.0.0 or higher of the Play Billing Library. Note that Billing dependencies would be found only in APKs that require the com.android.vending.BILLING permission.

问题是我没有看到任何正在导入 Google Play play帐单库项目的依赖性,即:

dependencies {
    def billing_version = "5.0.0"

    implementation "com.android.billingclient:billing:$billing_version"
}

这使我成为事物,也许该项目根本没有使用Google Play帐单库。

因此,我开始看 iinappbillingservice ,引导我这里: http://android.cn-mirrors.com/google/play/billing/billing_overview.html 。这似乎是一个旧图书馆?这使我认为这就是为什么我要获得版本的原因是我尝试部署应用程序时使用Google Play帐单的旧版本

这使我提出了我的问题:

  1. 我是否得到了错误版本使用Google Play帐单的旧版本,因为该项目使用 iinappbillingservice 哪个非常古老?<<<<< /p>

  2. Google Play帐单库应用程序内计费api

    有什么区别。

I've been searching for hours but I can't seem to find an answer to what is the difference between Google Play Billing Library and In-app Billing API and if one of them is causing the error message below:

Release uses an old version of Google Play Billing

I'm reading about Google Play Billing Library here: https://developer.android.com/google/play/billing/integrate and the In-app Billing API here: http://android.cn-mirrors.com/google/play/billing/billing_overview.html

I'm really confused, the whole confusion started because I was trying to deploy an old app on Google play started by someone else long ago, but got the error:

Release uses an old version of Google Play Billing

So I started to look at what version of the billing library the app uses but I couldn't find it. From the AndroidManifest.xml, I see:

<uses-permission android:name="com.android.vending.BILLING" />

And from one of the files in the android project I see:

import com.android.vending.billing.IInAppBillingService;

As you can see it doesn't really tell me what version the library is.

Having no experience in Google play store, I started looking up Google Play Billing Library and I'm seeing:

To be compliant, apps must import version 4.0.0 or higher of the Play Billing Library. Note that Billing dependencies would be found only in APKs that require the com.android.vending.BILLING permission.

Problem is I'm not seeing anything that's importing the Google Play Billing Library dependency in the project, ie:

dependencies {
    def billing_version = "5.0.0"

    implementation "com.android.billingclient:billing:$billing_version"
}

This makes me thing, perhaps the project is not using the Google Play Billing Library at all.

So I started to look at IInAppBillingService which led me here: http://android.cn-mirrors.com/google/play/billing/billing_overview.html. This seems to be an old library? Which is making me think that's the reason why I'm getting Release uses an old version of Google Play Billing when I'm trying to deploy the app.

This leads me to my question:

  1. Am I getting the error Release uses an old version of Google Play Billing because the project is using IInAppBillingService which is very old?

  2. What is the difference between Google Play Billing Library and In-app Billing API.

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

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

发布评论

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

评论(1

孤云独去闲 2025-02-20 01:59:36

iinappbillingservice.aidl 已过时,甚至可能不再考虑。
library api> api> api> api>明显的。

IInAppBillingService.aidl is obsolete and might not even be considered anymore.
What the difference in between the library and the API is, should possibly be obvious.

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