2
我試圖爲亞馬遜App Store設置應用程序內購買,但在嘗試請求商品數據時遇到問題。我正在調試Kindle Fire。這裏是我的代碼和我在logcat中看到:無法申請亞馬遜應用程序內購買的商品數據
@Override
public void onStart() {
super.onStart();
PurchasingManager.registerObserver(new AmazonPurchasingObserver(getActivity()));
PurchasingManager.initiateItemDataRequest(SKU_SET);
}
logcat的輸出:
05-21 10:46:30.399: D/PurchasingManager(10474): In App Purchasing SDK - Sandbox Mode: PurchasingObserver registered: [email protected]f0
05-21 10:46:30.407: D/SandboxRequestHandler(10474): In App Purchasing SDK - Sandbox Mode: sendItemDataRequest
05-21 10:46:30.423: W/ActivityManager(1409): Unable to start service Intent { act=com.amazon.testclient.iap.itemData flg=0x10000000 (has extras) }: not found
所以,如果在Kindle已經沒有一個服務爲上述目的,在這裏是com.amazon.testclient.iap.itemData
?
它實際上是所謂的「AmazonSDKTester.apk」,它位於以下目錄 的Android/InAppPurchasing /工具/ AmazonSDKTester.apk – Gubatron
您好,我有我能在應用程序演示的沙盒模式運行相同的問題,但無法在現場運行。 –