“你已经拥有这个项目”谷歌播放inapp错误

时间:2016-04-24 09:27:06

标签: android in-app-purchase in-app-billing

我已经实施了GooglePlay Inapp购买的API版本3。

我在两台设备上使用相同的Google帐户登录。

device #1,我刚刚购买了一件商品:https://developer.android.com/google/play/billing/billing_integrate.html#Purchase
当我立即使用https://developer.android.com/google/play/billing/billing_integrate.html#QueryPurchases查询购买的商品(在device #1上)时,它会返回应用内信息,以便一切正常。

当我在device #2查询购买清单时,它不会返回我刚刚购买的商品,它会返回一个空列表。

当我尝试在device #2上购买该物品时,它告诉我我已经拥有它。

关于device #1购买原因的任何想法未反映在device #2上?

请注意,inapps为Managed products,因此Google应该使用相同的Google帐户处理不同设备之间的同步,对吗?

1 个答案:

答案 0 :(得分:4)

似乎需要一段时间才能将更改实际发生在GooglePlay上。我购买该项目的设备,似乎缓存我这样做,而不是询问GooglePlay,它从本地缓存中获取。 这就是为什么另一台设备不知道购买的原因。 第二台设备花了大约一个小时从GooglePlay接收购买信息。