如何测试在应用程序,购买容易,不发布或第一个签约呢?第一个、应用程序、容易、测试

2023-09-06 01:17:22 作者:襟上别一枝春色

我的应用程序有一定的应用内结算(如 这个 ),我想测试它发布之前。

My app has some in-app billing (like this one), and I wish to test it out before publishing it.

我看过一些谷歌IO讲座,看了一些文章,和prepared一切。

I've watched some google IO lectures and read some articles, and prepared everything.

据我所学到(谈到here),所有我需要做的只是增加我的电子邮件到测试帐户,它不会被收取费用。

According to what i've learnt (talked about here), all I need to do is just add my email to the test accounts, and it won't be charged.

看来,在开发者控制台时,在应用程序的项目不能被激活。

It seems that in the developer console, the in app items cannot be activated.

我想这是因为该应用程序是尚未公布,但这是测试的整点 - 我想发布前测试应用程序...

I think it's because the app isn't published yet, but that's the whole point of testing - I want to test the app before publishing it...

由于我也发现了,为了测试应用内结算,我必须做很多的事情来照顾制作它的工作,也有许多限制和烦恼:

As I've also found out, in order to test in-app billing, I have to do a lot of things to take care of for making it work, also having many restrictions and annoyances:

签署的应用程序,并把它上传到Play商店。如果你不使用签名的应用程序,你会得到this消息 (此版本的应用程序没有为市场结算配置...)。

sign the app and upload it to the play store . if you don't use a signed app, you get this message ("This version of the application is not configured for Market Billing...") .

让信用卡使用的设备,即使他们不会花费任何东西。

make credit cards be used to the devices, even if they won't cost anything.

让别人做的测试,而不是我自己,因为我的账号不能用了点。不仅如此,而是加入其中究竟要添加,你必须创建一个谷歌组并没有把人民谁就能使用的应用程序,并且都将必须有一个谷歌+帐户...你会还需要等待一段时间,直到测试人员就可以在应用内计费您的应用程序的使用,在那之前,他们会得到一个错误用户不符合此购买。

let others do the testing instead of myself, as my account cannot be used for that. not only that, but instead of adding exactly which you wish to add, you have to create a google group and there put the people who will be able to use the app, and all will have to have a google+ account... You will also need to wait some time till the testers will be able to use in-app-billing of your app and till then they will get an error "User is not eligible for this purchase" .

#1,因为,我需要有某种机制来复位采购,应用程序本身,但我也不能忘记删除/隐藏此功能,为最终用户,让他们不会错误地重置

because of #1, I need to have some kind of mechanism to reset the purchases, within the app itself, but i also shouldn't forget to remove/hide this features for the end users, so that they won't reset it by mistake

由于#1,如果我希望能够调试应用程序,我需要在舱单更改,并选择调试在Eclipse的应用程序,并且还记得之前实际释放取消选中此标志该应用程序。

because of #1, if I wish to be able to debug the app, I need to change it on the manifest, and choose to debug the app within Eclipse, and also remember to uncheck this flag before actually releasing the app.

由于应用程序是在Play商店,你不能修改应用程序内购买项目(其ID为例),而不是很多的事情,你可以发布应用程序之前修改。它不再是一个开发灵活,因为它可以使用简单的开发。这就像你的应用程序应该与你选择什么,即使你还没有公布它尚未被密封。

since the app is on the play store, you cannot modify in-app purchases items (their Id for example), as opposed to many thing you can modify before publishing the app. It's no longer a development as flexible as it can be using simple development. It's like your app should be sealed with what you choose even though you haven't published it yet.

为什么会这样?

为什么没有一个简单的方法,让测试应用程序内计费?

How come there isn't a simple way to allow to test the in-app-billing ?

你会如何处理我写的呢?这些问题

How would you deal with the problems I've written about?

是否有可能测试应用内购买的应用程序发布之前?

Is it possible to test the in-app purchases before the app is published?

为什么我不能用我自己的谷歌账户?

How come I can't use my own google account ?

另外,假设我做一个(假的)购买,我怎么才能再次检查出来复位(全/具体购买)?这是真的,我不能在任何地方,除了应用程序本身?

Also, suppose I do make a (fake) purchase, how do I reset it (all/specific purchases) in order to check it out again? Is it true I can't do it anywhere besides the app itself?

我缺少什么?

推荐答案

你没有发布序来测试它所有你需要做的就是将APK上传到自己的开发者控制台,只是不发布它的应用程序。如果您的帐户链接到您的开发者控制台中,您不能使用该帐户,必须创建一个测试帐户来测试IAP的

you dont have to publish the app inorder to test it all you have to do is upload the apk to your developer console, just dont publish it. If your account is linked to your developer console you cannot use that account and have to create a test account to test the IAP's