简体   繁体   English

Amazon In-App未进行

[英]Amazon In-App Not Proceeding

I am trying to implement Amazon In app Purchasing in android. 我正在尝试在android中实现Amazon In App Purchases。 First I downloaded the sample code from Amazon "ButtonClicker" from this site. 首先,我从该站点从Amazon“ ButtonClicker”下载了示例代码。 When I run the code on my Kindle Fire I received these messages on my Eclipse Logcat: 当我在Kindle Fire上运行代码时,我在Eclipse Logcat上收到了以下消息:

After sending request nothing happens. 发送请求后,没有任何反应。 No response received. 没有收到回应。

Is there any problem due to SKUs? 由于SKU有什么问题吗? But no error is being shown on Invalid SKU. 但是无效SKU上未显示任何错误。 Please help me out in solving this problem. 请帮我解决这个问题。

Have you registered the Amazon ResponseReceiver in the manifest? 您是否已在清单中注册了Amazon ResponseReceiver? If you haven't than you will not be able to catch any response. 如果您还没有,那么您将无法获得任何回应。

    <receiver android:name="com.amazon.inapp.purchasing.ResponseReceiver" >
        <intent-filter >
            <action
                android:name="com.amazon.inapp.purchasing.NOTIFY"
                android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY" />
        </intent-filter>
    </receiver>

Also check the amazon.sdktester.json which you must have put in mnt/sdcard folder. 还要检查您必须放在mnt / sdcard文件夹中的amazon.sdktester.json Make sure it is not missing and does not has json compilation errors. 确保它不丢失并且没有json编译错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM