Android的:如何更新与inapp计费Android应用程序? [英] Android: how to update an Android app with inapp billing?

查看:189
本文介绍了Android的:如何更新与inapp计费Android应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

另一种方式来问这个问题:如何让inapp计费与所有版本我的应用程序的工作

Another way to ask the question: how to make inapp billing working with all versions of my app?

我有与inapp计费的应用程序。我想更新它。

I have got an app with inapp billing. I want to update it.

开发者控制台上我积极APK是1版我的问题是这样的:

My active apk on the developer console is in version 1. My problem is the following:

  • 当我使用亚行我的设备上安装的版本2我更新的应用程序(签订包),我得到了以下消息:此版本的应用程序包是没有配置电子市场结算
  • 当我我的设备上安装我更新的应用程序(通常签名的软件包)在第1版(版本相同的一个控制台上)(我无法在控制台上......我必须增加版本号!)利用亚行,verything作品...

因此​​,似乎inapp计费仅与一个版本的应用程序的:一个有活性在控制台中。我想,我的用户都会有同样的问题:只有在用户与应用程序的最后一次更新将能够执行inapp计费......别人会得到错误

Consequently, it seems that inapp billing works only with one version of the app: the one which is active in the console. I imagine that my users will have the same issue: only the users with the last update of the app will be able to perform inapp billing...the others will get the error.

任何人知道如何解决这个问题呢?我怎样才能做到这一点已经安装在世界上所有的应用程序将能够做inapp计费无论版本号是??

Anybody knows how to solve this issue ? How can I do so that all my apps already installed in the world will be able to do inapp billing whatever the version number is ??

谢谢!

推荐答案

通过控制台你的意思是你的发布者的帐户?

By "console" do you mean your publisher's account?

我觉得这是不是一个错误,但功能设计。如果您尝试进行购买的的的有4 android.test之一。* 项ID,正在运行调试版本,甚至一个发行版本是比你所发布的一个,您将收到此错误:

I think this isn't a bug but a feature by design. If you attempt to make a purchase that doesn't have one of the 4 android.test.* item ids, and it is running a debug version or even a release version that is newer than the one you have published, you will receive this error:

例如,如果你在你的设备上运行的发布模式,这比在市场上的和更高的一个版本的尝试购买真正的项(不是 android.test。* ),你将获得前面提到的错误。

For example, if you're running on your device a Release mode that's one version higher than what's in the Market and you try to purchase a real item (not an android.test.* one), you will get the aforementioned error.

要进一步明确:如果您运行的(当然是用相同的包名,)的更高版本code比一个在AndroidMarket的应用程序它的将会的以造成功购买如果使用4 android.test之一。* 项ID。

To further clarify: If you run an application of a higher versionCode than the one in the AndroidMarket (with the same package name, of course) it will succeed in "making the purchase" if you use one of the 4 android.test.* item ids.

请注意,这是根据我自己的经验和观察为完整的文档在这留下遗憾的地方。

Please note that this is based on my own experience and observation as full documentation on this leaves something to be desired.

这篇关于Android的:如何更新与inapp计费Android应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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