在应用程序内结算 - 产品未找到 [英] In App Billing - product not found

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

问题描述

我需要我的Andr​​oid的应用程序内购买提供帮助。我设置了图书馆IInAppBillingService.aidl。然后,我做的一切都是我在一些漂亮的教程看到的和之前我做了这个,我读了谷歌文档几次。我可是从德国,所以我的英语不是安静完美的 - 但我认为我得到了重要的事情。

I need help with my Android in-app-purchase. I set up the library IInAppBillingService.aidl. Then I did everything I saw in some good looking tutorials and before I did this I read the Google documentation several times. Im from Germany, so my English is not quiet perfect - but I think I get the important things.

清单是安装,一切看起来不错。今天早上,我用谷歌测试购买项目和code似乎是正确的。我可以购买本次测试的产品 - 没有错误。

The manifest is setup and everything looks fine. This morning I used Googles "test-purchase-item" and the code seems to be right. I could "buy" this test product - no error.

现在我试图购买自己的产品(不仅是从我自己的设备,在我的女朋友谷歌账户的,我得到了相同的故障=>你试图购买该项目无法找到。

Now I tried to purchase my own product (not only from my own device, at my girlfriends Google-Account I get the same failure => "The item you were attempting to purchase could not be found."

嗯...我无法弄清楚什么是错。我已经问过很多人在德国的程序员社区,但没有人能帮助我。 : - /

Hmmm... I'm not able to figure out whats wrong. I already asked many people in a German programmers community, but nobody could help me. :-/

编辑:我发现在堆栈-OVERFLOW,但我敢肯定我的错误不是由错误的这些源产生的。

I found this at Stack-Overflow, but I'm quite sure my error isn't produced by these source of errors.

EDIT2:当我使用Google的测试采购项目,logcat的告诉我,我可以不买这个东西的两倍。我说得对,当时我想,我的code(库等)是正确的,但出事了与我的产品?

When I use Googles test-purchase-item, logcat tells me that I couldn't buy this stuff twice. Am I right, when I suppose that my code (library, etc) is correct, but something went wrong with my product?

我AP preciate每发布带来一些光的在应用程序 - 比林斯的暗洞:D 最好的祝愿 马丁

I appreciate every posting which brings some light in the dark hole of "in-app-billings" :D Best wishes Martin

推荐答案

我也有同样的错误。虽然我还没有发现我的错误的原因,我将提供解决方案的简要清单尝试,对于其他人解决了这个错误。

I have the same error. While I have not found the cause of my error, I will provide a concise list of solutions to try that have resolved this error for others.

应用程序应签署并上传到开发者控制台。如果它不上载到生产,几个多个以下可以适用

The app should be signed and uploaded to the developer console. If it is not uploaded to "Production", several more of the following could apply

应用程序内的项目必须具有的状态为活动。

The in-app item has to have the status "Active".

输入一个帐户,而不是在开发者的测试访问部分控制台的开发者账户其他 - >设置

Enter an account other than the developer account in "testing access" portion of the Developer Console -> Settings.

在测试访问是不是开发商的帐户使用的设备与主帐户。

Use a device with the primary account in the "testing access" that is not the developer account.

仔细检查您的SKU / ID的拼写。

Double check the spelling of your SKU/id.

的上载的apk和用于测试的APK必须是相同的版本和相同签名。这通常是不正确的,如果你正在运行通过Eclipse的应用程序。最简单的一个镜头的解决方案是侧安装您上传到测试设备完全相同的apk文件。

The uploaded apk and the apk used for testing have to be the same version and identically signed. This is generally not true if you are running the app through Eclipse. The simplest one shot solution is to side install the exact same apk file you uploaded onto the test device.

仔细检查许可密钥。

编辑:发布的应用程序。这包括截图,描述等,还可以在α/β测试。

"Publish" the app. This includes screenshots, description, etc. It can still be in Alpha/Beta testing.

等待3个小时的应用程序,SKU和测试帐户被传播。

Wait 3 hours for app, SKU and testing accounts to be propagated.

下面是一个链接到我的问题,其中包括与此相关的问题,很多环节。 <一href="http://stackoverflow.com/questions/23918190/the-item-you-were-attempting-to-purchase-could-not-be-found-android-in-app-bil">The你试图购买项目无法找到的Andr​​oid应用内结算

The following is a link to my question that includes many links related to this question. "The item you were attempting to purchase could not be found" Android in-app billing

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

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