In-app Billing Error

狂风中的少年 提交于 2019-12-03 16:17:19

This may not be a correct answer, but from my personal testing and notes taken from all over the place:

  • The draft app you upload must have the same "version code" and "version name" as any that you are testing.
  • If you upload a new version (with a new "version code" or "version name") it can take 4 to 24 hours before the new version will work correctly for testing.
  • Double check that the account used on the device is in fact one of the test accounts.
  • Your draft APK that you upload must be signed with the same key that will be used on the final version.
  • For testing on a device (the emulator will not work with the Play Store), so long as the "version code" and "version name" match the the draft APK in the Play Store, testing and debugging works.

Hope that helps a little.

Edit: Some changes to clarify a few points.

I had this error, but my mistake was that the upload behaviour has changed.

It used to be that you uploaded an APK as a draft to the production tab of the play store dashboard. Now, you have to upload to the Alpha tab of the dashboard, and publish your app (http://developer.android.com/google/play/billing/billing_testing.html#draft_apps).

Don't worry if you're still in pre-production on your app; if you have no APKs in the production tab when you publish, nothing will appear in the Play Store.

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