question

Vikas Murthy avatar image
Vikas Murthy asked

In App Product Detail and In App Product Preview Error

While integrating In App Product Detail and In App Product Preview I am getting the following errors. [b]For In App Product Detail Android logcat following errors found.[/b] 1. No package identifier when getting value for resource number 0x00000000 2. E/AmazonMobileAssociates com.amazon.device.associates.c(6278): Error displaying product detail popover Here I am seeing the loading bar. But it doesn't loaded at all. please see the attached details.jpg [b]For In App Product Preview i am getting following error[/b] No package identifier when getting value for resource number 0x00000000 android.content.res.Resources$NotFoundException: Resource ID #0x0 at android.content.res.Resources.getValue(Resources.java:1026) at android.content.res.Resources.getDrawable(Resources.java:671) at com.amazon.device.associates.a$a. (ProductPreviewPopover.java:142) at com.amazon.device.associates.a.a(ProductPreviewPopover.java:54) at com.amazon.device.associates.ab.a(DirectShopping.java:109) at com.amazon.device.associates.af.a(DASRequestHandler.java:65) at com.amazon.device.associates.m.a(ShoppingServiceImpl.java:120) at com.amazon.device.associates.m.a(ShoppingServiceImpl.java:11) at com.amazon.device.associates.m$2.run(ShoppingServiceImpl.java:170) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4921) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) at dalvik.system.NativeStart.main(Native Method) Please help me to solve these issues.
mobile associates
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 Vikas, The issue is fixed and would be available in the next release. Thank you for bringing this in our notice.
10 |5000

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

androiddev1234 avatar image
androiddev1234 answered
I am also facing similar issue. Details posted at: https://forums.developer.amazon.com/forums/thread.jspa?threadID=1845 Please have a look. Would appreciate your help. BTW, I downloaded the SDK some 2-3 weeks back. When was the fix released? Thanks
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 Androiddev1234, What I meant was, the issue has been fixed in the SDK but the version is not released. The fixed version would be released shortly. Thanks.
10 |5000

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

androiddev1234 avatar image
androiddev1234 answered
Thanks for the quick response. Any tentative timelines by when it would be released? For now, is there any work around? I have a demo lined up with client hence the urgency.
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, I can not commit any ETA at this moment for this. But will update this thread once it's released. Thanks.
10 |5000

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

androiddev1234 avatar image
androiddev1234 answered
ok thanks.
10 |5000

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

blahrandom avatar image
blahrandom answered
In case anyone else is still looking at this, the answer is to add the images in the drawable folder from the SDK (mislabeled "drawble") to your Android project. It doesn't mention this in any of the implementation guides, so it's understandable to have missed, and if you're waiting for this thread to be updated you'll be doing so for a while.. Message was edited by: blahrandom
10 |5000

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