[英]Release uses an old version of Google Play Billing
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:我一直在寻找几个小时,但我似乎无法找到关于
Google Play Billing Library
和In-app Billing API
之间有什么区别的答案,以及其中一个是否导致以下错误消息:
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我在这里阅读有关
Google Play Billing Library
的信息: https ://developer.android.com/google/play/billing/integrate 和In-app Billing API
: 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:我真的很困惑,整个混乱开始是因为我试图在很久以前由其他人开始在 Google Play 上部署一个旧应用程序,但得到了错误:
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:从
AndroidManifest.xml
,我看到:
<uses-permission android:name="com.android.vending.BILLING" />
And from one of the files in the android project I see:从 android 项目中的一个文件中,我看到:
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:由于没有 Google Play 商店的经验,我开始查找
Google Play Billing Library
,我看到:
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:问题是我没有看到在项目中导入
Google Play Billing Library
依赖项的任何内容,即:
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.这让我很感兴趣,也许该项目根本没有使用 Google Play 计费库。
So I started to look at IInAppBillingService
which led me here: http://android.cn-mirrors.com/google/play/billing/billing_overview.html .所以我开始查看
IInAppBillingService
,它把我带到了这里: 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.这让我认为这就是我在尝试部署应用程序时
Release uses an old version of Google Play Billing
的原因。
This leads me to my question:这引出了我的问题:
Am I getting the error Release uses an old version of Google Play Billing
because the project is using IInAppBillingService
which is very old?我是否收到错误
Release uses an old version of Google Play Billing
因为该项目使用的是非常旧的IInAppBillingService
?
What is the difference between Google Play Billing Library
and In-app Billing API
. Google Play Billing Library
和In-app Billing API
有什么区别。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.