Неверный запрос для выставления счетов Android

#android #google-play #billing

#Android #google-play #выставление счетов

Вопрос:

Я пытаюсь приобрести тестовый элемент с идентификатором «android.test.purchased», чтобы проверить мою интеграцию с выставлением счетов. Но получил следующую ошибку:

 com.android.vending.api.ApiException: Error from backend. 
Request=com.android.vending.model.GetImageRequest, Response=BAD_REQUEST
  

Трассировка:

 06-13 13:00:53.521: INFO/ActivityManager(30174): Starting activity: Intent { act=android.intent.action.VIEW cmp=com.android.vending/.billing.InAppBuyPageActivity (has extras) }
06-13 13:00:54.101: INFO/ActivityManager(30174): Displayed activity com.android.vending/.billing.InAppBuyPageActivity: 514 ms (total 514 ms)
06-13 13:00:55.281: DEBUG/vending(21943): [26] BaseAction.run(): ApiException: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.GetImageRequest, Response=BAD_REQUEST
06-13 13:00:55.281: ERROR/vending(21943): [26] BasePurchaseActivity.onPurchasePostError(): PurchasePost error
06-13 13:00:55.291: INFO/vending(21943): [1] BaseAction.displayErrorUi(): Server error in com.android.vending.billing.PurchasePostAction: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.GetImageRequest, Response=BAD_REQUEST
  

Ответ №1:

Чтобы избежать этой ошибки, вам необходимо загрузить свое приложение в Google Market. Но вам не нужно публиковать это, просто загрузите. https://market.android.com/publish/Home