简体   繁体   English

如何在Google Play上为我的应用关闭“提供应用内购买”功能

[英]How to turn off “Offers in-app purchases” on Google Play for my app

I've just uploaded my first app to Google Play. 我刚刚将我的第一个应用程序上传到Google Play。 Its free and I have no in-app purchases. 它是免费的,我没有应用内购买。

Even that I have no in-app purchases I can still see in Google Play that there is a sentence next to the google play icon that says "Offers in-app purchases". 即使我没有应用内购买,我仍然可以在Google Play中看到Google Play图标旁边有一个句子,上面写着“提供应用内购买”。 How do I cancel it? 我该如何取消? I've searched all over the google play developer console for a place to uncheck it but couldn't found one. 我在谷歌游戏开发者控制台上搜索了一个地方取消选中它但找不到一个。 Also in the In-app Products tab I have gray screen that says "Your app doesn't have any in-app products yet. " So can u help me please? 此外,在应用内商品标签中,我还有一个灰色屏幕,上面写着“您的应用还没有任何应用内商品。”那么,您可以帮助我吗?

Thank u in advance 提前谢谢你

Just remove the in-app billing permission from your Android manifest and publish a new APK. 只需从Android清单中删除应用内结算权限,然后发布新的APK即可。 It is this line in the AndroidManifest.xml file: 这是AndroidManifest.xml文件中的这一行:

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

Adding on to @HansKratz answer. 加上@HansKratz答案。 If you have any other dependencies that add the permission such as com.android.billingclient:billing you will either need to remove the dependency adding the permission or explicitly remove it from your final merged manifest by adding: <uses-permission android:name="com.android.vending.BILLING" tools:node="remove" /> 如果您有任何其他依赖项添加权限,例如com.android.billingclient:billing您将需要删除添加权限的依赖项,或者通过添加以下内容从最终合并清单中明确删除它: <uses-permission android:name="com.android.vending.BILLING" tools:node="remove" />

If you also want to get rid of the "Offers in-app purchases" on your Google Play app page, you need to set the status of your in-app products to inactive. 如果您还希望摆脱Google Play应用页面上的“优惠应用内购买”,则需要将应用内商品的状态设置为无效状态。

Go to your Google Play Developer Console -> Choose your app -> Click In-app Products -> Click on the in-app product and change it from active to inactive. 转到您的Google Play开发者控制台 - >选择您的应用 - >点击应用内商品 - >点击应用内商品,然后将其从有效更改为无效。

Note that you can't set subscriptions to inactive, once you activated them. 请注意,一旦激活订阅,您就无法将订阅设置为非活动状态。

I had the same issue recently so I'm just posting here in case someone else might still need help. 我最近遇到了同样的问题所以我只是在这里张贴以防其他人可能仍然需要帮助。 After removing any reference to Billing in my code and removing the In-App Purchase products from Google Play Console I had to pass again the Content Rating Questionnaire to make the message disappear. 在我的代码中删除对Billing的任何引用并从Google Play控制台中删除应用程序内购买产品后,我不得不再次传递内容评级问卷以使消息消失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM