Item you requested is not available for purchase - android in app billing

*爱你&永不变心* 提交于 2019-12-03 05:09:33

问题


As I am developing an application which uses in app billing, I am not able to test it using my own product ID. I have followed every step as documented on developer site. I have,

  1. Uploaded the signed apk with release certificated to developer console.
  2. I have published my apk to alpha channel.
  3. I have listed my product Ids to developer console.
  4. I have activated my product Ids and on developer console it is marked as Active.
  5. I have listed the test account in developer console.
  6. I have installed the same apk that I uploaded to developer console to my deveice.
  7. The device is logged in with the test account not the developer account.
  8. The Id that I use in my app is same as I had listed on console as per logcat message.

But, I am getting Item is not available for purchase.

Do not know what's wrong.

I know that this question has been asked on stack overflow before several times, and I have gone through each and every one of them, but none of the solutions seems to work for me so please do not close this issue as duplicate.


回答1:


Found the solution for me, I had to add the testers account to alpha also. Google changed its policy, you need to be an alpha tester and not just be added to the test account list. My steps :

  • Go to Alpha APK
  • Switch alpha testing type
  • Create a list
  • Add my tester email
  • Save
  • Submit update (top right of the page)
  • Wait for 15 minutes
  • Open opt-in url with test account and click on "Become a tester"



回答2:


Why I have to do a lot of tasks?

Just add your Mail to Lisense Testing.

In Developer Console, Go to Settings -> Developer Account -> Account Details. Then scroll to Bottom.

Do not need any Alpha release or anything else.




回答3:


I am also getting this error. For this 1st generate a new signed app with upgraded version and then follow these steps

  • open google play console

  • Go to Release Management->App Release

  • In beta track create a app http://prntscr.com/ntxgr5

If app is create on beta track then go to production but if u click on go to production, then u getting some error like draft is full for that u have to clear the draft

  • In app release top most track is production track click on edit release in left of bottom a Discard button is present click on that and remove that app

After that go to beta track and go to production and conform it after 15-20 minute your latest app will reflect on play-store



来源:https://stackoverflow.com/questions/32391047/item-you-requested-is-not-available-for-purchase-android-in-app-billing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!