question

vincent55 avatar image
vincent55 asked

exception when running IAP consummable sample

08-21 14:12:23.340: E/c(10429): Error parsing item data output 08-21 14:12:23.340: E/c(10429): java.lang.IllegalArgumentException: SUCCESSFUL_WITH_UNAVAILABLE_SKUS is not a constant in com.amazon.device.iap.model.ProductDataResponse$RequestStatus 08-21 14:12:23.340: E/c(10429): at java.lang.Enum.valueOf(Enum.java:198) 08-21 14:12:23.340: E/c(10429): at com.amazon.device.iap.model.ProductDataResponse$RequestStatus.valueOf(ProductDataResponse.java:32) 08-21 14:12:23.340: E/c(10429): at com.amazon.device.iap.internal.a.c.d(SandboxRequestHandler.java:312) 08-21 14:12:23.340: E/c(10429): at com.amazon.device.iap.internal.a.c.c(SandboxRequestHandler.java:298) 08-21 14:12:23.340: E/c(10429): at com.amazon.device.iap.internal.a.c.a(SandboxRequestHandler.java:194) 08-21 14:12:23.340: E/c(10429): at com.amazon.device.iap.internal.d.a(PurchasingManager.java:129) 08-21 14:12:23.340: E/c(10429): at com.amazon.device.iap.ResponseReceiver.onReceive(ResponseReceiver.java:45) 08-21 14:12:23.340: E/c(10429): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2419) 08-21 14:12:23.340: E/c(10429): at android.app.ActivityThread.access$1700(ActivityThread.java:135) 08-21 14:12:23.340: E/c(10429): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272) 08-21 14:12:23.340: E/c(10429): at android.os.Handler.dispatchMessage(Handler.java:102) 08-21 14:12:23.340: E/c(10429): at android.os.Looper.loop(Looper.java:136) 08-21 14:12:23.340: E/c(10429): at android.app.ActivityThread.main(ActivityThread.java:5017) 08-21 14:12:23.340: E/c(10429): at java.lang.reflect.Method.invokeNative(Native Method) 08-21 14:12:23.340: E/c(10429): at java.lang.reflect.Method.invoke(Method.java:515) 08-21 14:12:23.340: E/c(10429): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) 08-21 14:12:23.340: E/c(10429): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) 08-21 14:12:23.340: E/c(10429): at dalvik.system.NativeStart.main(Native Method)
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi vincent, Could you please send below details? 1. Which device you are testing on? 2. If it's Kindle Fire tablet then what is the OS version installed there? 3. Are you using the latest SDK? 4. Have you downloaded below SDK tester from App Store? http://www.amazon.com/dp/B00BN3YZM2
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Glovantech Corporation avatar image
Glovantech Corporation answered
Legacy SDK tester (AmazonSDKTester.apk) has different package name than the test tool for IAP 2.0. By downloading the IAP 2.0 test tool I _assumed_ that I replaced the old one. Uninstalling the legacy version fixed this exception for me.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

huluwa avatar image
huluwa answered
hi,i am kindle paid.i had download new amazon app tester. IAP 2.0. But i had the same problem.help me
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Please check whether AmazonSDKTester.apk is installed on the device or not. If yes, please uninstall it and then retest.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.