2011-11-18 70 views
5

我已經成功地在我的應用程序中測試產品ID(即android.test.purchased等),但我得到與真實產品ID異常..任何幫助將不勝感激。 我也在應用程序草案中發佈了inappproduct列表。在應用程序購買問題在Android

我得到下面的異常::::提前

11-18 15:33:15.367: E/Volley(20873): [12] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/purchase 
11-18 15:33:15.378: W/Finsky(20873): [1] CheckoutPurchase.onErrorResponse: DisplayErrorMessage[The item that you were attempting to purchase could not be found.] 
11-18 15:33:15.382: D/Volley(20873): [11] BasicNetwork.logSlowRequests: HTTP response for request=<[ ] https://android.clients.google.com/fdfe/details?doc=inapp:com.inappdemo:s1 NORMAL 232> [lifetime=3146], [size=727], [rc=200], [retryCount=1] 
11-18 15:33:15.386: E/Finsky(20873): [1] CheckoutPurchase.setError: type=UNKNOWN, code=-1, message=The item that you were attempting to purchase could not be found. 

感謝。

回答

2

您應該將自己添加爲您的發佈者帳戶的測試帳戶。 不要忘記,你不能從自己購買(測試帳戶應該與出版商帳戶不同)

+0

恩..謝謝你的信息!在我花了兩天的時間把我的頭撞在牆上之前,我會很高興知道的。 –

0

我發現,對於我的應用程序,此錯誤是由於在開發者控制檯上將price字段設置爲0.00 。儘管谷歌聲稱價格不能低於0.99美元,但他們仍然允許您將價格設定爲0.00美元,然後給出這個神祕的錯誤。

1

我覺得你還沒有激活你的APK。只要激活你的APK ..然後它會在Ready to Publish狀態。現在您的草稿中有APK