应用内结算应用程序的测试 [英] Testing of In-app Billing application

查看:168
本文介绍了应用内结算应用程序的测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为应用内结算测试应用程序,
为了测试应用内结算的功能,我一定要上载的应用市场(未公布),或者我能直接测试它?


解决方案

  1. 如果您使用的是 android.test.purchased ,那么你需要不上传您的APK。


  2. 如果您使用的是自己的产品ID,那么你必须上传APK,你也必须添加一个产品,你在你的code中提到的相同的名称。你只发布产品(不适用)。注意,您将无法从您的市场概况ID购买的产品。你必须设置一个测试帐号。


I have made a testing application for In-app Billing, For testing the feature of In-app Billing do i have to upload the application on market (not publish) or i can test it directly ?

解决方案

  1. if you are using android.test.purchased then you need not to upload your APK.

  2. if you are using your own product id then you have to upload APK and also you have to add a product with the same name you mentioned in your code. you have to publish only product (not application). Note you will not be able to buy product from your market profile ID. You have to setup a test account.

这篇关于应用内结算应用程序的测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆