Search code examples
androidgoogle-playapkandroid-permissionssubscription

To add in-app products, you need to add the BILLING permission to your APK


I am trying to upload my apk file to the play store to test the monetization of my app.

What I did:

Creating a closed testing release

Added locations and filled all required dashboard information

Add the billing permission to the apk with this command in the android debug app src file <uses-permission android:name="com.android.vending.BILLING" />

Added this permission in manifest.xml for the app <uses-permission android:name="com.google.android.play.billingclient.version" />

I AM WILLING TO PROVIDE ANY SCREENSHOTS YOU MAY NEED TO SOLVE THIS PROBLEM

But the play store app still says "To add in-app products, you need to add the BILLING permission to your APK" and when I click the button to upload an apk it takes me to my closed testing release. Any reason why this is happening?

Problem image


Solution

  • Have you checked the merged Manifest file to check if the permission is exist there?

    You can find the Merged Manifest here:

    enter image description here

    In that merged manifest tab, you can see all the libraries and permissions included in the project.

    enter image description here