Android - In App Purchase - you need to add the BILLING permission to your APK

后端 未结 8 1582
忘掉有多难
忘掉有多难 2021-01-30 20:01

I have been facing a IN - App Purchase problem since long time. I need to integrate In-App functionality in my Android Application, but When I upload the APK file to the play st

相关标签:
8条回答
  • 2021-01-30 20:35

    Have you added this line in your manifest file

    <uses-permission android:name="com.android.vending.BILLING" />
    
    0 讨论(0)
  • 2021-01-30 20:35

    I also got this message. This message and problem disappeared when i roll-out release. After this all functions work fine

    0 讨论(0)
  • 2021-01-30 20:43

    Updating Your Application's Manifest

    In-app billing relies on the Google Play application, which handles all communication between your application and the Google Play server. To use the Google Play application, your application must request the proper permission. You can do this by adding the com.android.vending.BILLING permission to your AndroidManifest.xml file. If your application does not declare the In-app Billing permission, but attempts to send billing requests, Google Play will refuse the requests and respond with an error.

    To give your app the necessary permission, add this line in your Android.xml manifest file:

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

    Ref Implementing In-app Billing

    Also See Google I/O 2013 - In-App Billing Version 3

    0 讨论(0)
  • 2021-01-30 20:44

    Since September, 2017 is not necessary anymore to add <uses-permission android:name="com.android.vending.BILLING" />

    Play Billing Library 1.0 Release (2017-09-19, Announcement)

    Important changes

    Embedded billing permission inside library’s manifest. It's not necessary to add the com.android.vending.BILLING permission inside Android manifest anymore.

    https://developer.android.com/google/play/billing/billing_library_releases_notes#release-1_0

    Just ensure that you are using the latest version of 'com.android.billingclient:billing' in your app gradle configuration file.

    0 讨论(0)
  • 2021-01-30 20:44

    For me, uploading a new APK with the com.android.vending.BILLING permission was not enough to make the error message go away.

    I also had to release the APK to an internal test track.

    0 讨论(0)
  • 2021-01-30 20:46

    You need to add permission to your manifest :

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

    Refer: http://developer.android.com/google/play/billing/billing_integrate.html

    0 讨论(0)
提交回复
热议问题