测试的应用内计费 [英] Testing in-app-billing

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

问题描述

我想测试的应用内计费的应用程序。目前版本在Android Market上不具有应用内计费的功能。

I am trying to test in-app-billing application. Current version on the Android Market doesn't have in-app-billing feature.

当我上传我的是具有应用内计费功能,因为草案新版本,我收到错误消息,

When I upload my new version which is having in-app-billing feature as draft, i am getting error message that

一个意外的错误发生,请稍后再试。 有没有在应用程序内的产品为这个应用程序。 新的应用程序内的产品不能被添加,因为当前的应用程序版本不使用计费的许可。

"An unexpected error occurred. Please try again later. There are no in-app products for this application. New in-app products cannot be added because the current application version does not use the BILLING permission."

我给自己定的所有配置的http:// Android的SDK .appspot.com /引导/市场/计费/ index.html的

我要测试的应用内计费之前发布它。如何解决这个问题?

I want to test in-app-billing before publish it. How to fix this issue?

推荐答案

这是在你的错误信息说。添加计费权限在manifest文件并上传您的应用程序市场(不发表它,保存为草稿)。然后在你的开发者控制台添加一些项目。

It is all said in your error message. add BILLING permission in your manifest file and upload your application the market(don't publish it, save as draft). Then add some items in your developers console.

此外,您还可以尝试提 android.test.purchased 为您的产品ID,在这种情况下,市场上的应用程序总是回答你,该项目已成功购买。

Also, you can try to mention android.test.purchased as your product id, in that case market application always answer you, that item has been successfully purchased.

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

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