简体   繁体   English

为什么我的Android应用程序显示在Playstore中提供应用内购买

[英]Why my android application showing Offers in-app purchases in playstore

I uploaded my application into Google playstore. 我将我的应用程序上传到Google Playstore。 While uploading I didnt select any options related to in-app purchases. 上传时我没有选择任何与应用内购买相关的选项。 But still it is showing Offers in-app purchases for my application. 但它仍然显示为我的应用程序提供应用程序内购买

Please let me know how I can disable that option. 请让我知道如何禁用该选项。

Check if your manifest file has this line of code asking for BILLING permission: 检查您的清单文件是否有这行代码要求BILLING权限:

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

Sometimes additional permissions can be added to an app by third party libraries, so check also final generated manifest file under this path: app/build/intermediates/manifests/full/debug/AndroidManifest.xml . 有时,第三方库可以向应用程序添加其他权限,因此请在此路径下检查最终生成的清单文件: app/build/intermediates/manifests/full/debug/AndroidManifest.xml

If you found out that permission is added by a library you can exclude it from your project by adding this permission to main manifest file with parameter tools:node=”remove” like this: 如果您发现库添加了权限,则可以通过使用参数tools:node=”remove”将此权限添加到主清单文件中将其从项目中排除tools:node=”remove”如下所示:

<uses-permission android:name="com.android.vending.BILLING" 
tools:node=”remove”/>

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

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