I am getting a strange viewer builder error, and have narrowed it down to occuring because the icons im providing are somehow incorrect. I just dont know WHY they are incorrect because all I know is that the icons need to be RGB, Flattened, PNG images. However, sometimes this error comes up:
Viewer Builder Error:
Invalid zip file
Default-Landscape.png not found
Default-Portrait.png not found
Icon-29.png not found
Icon-50.png not found
Icon-72.png not found
If I replace the icons with known working icons that i have used in the past then the error goes away. Has anyone come across this error with using bad icons? And in your case did you figure out why your icons were bad?
I have checked the folder paths. I can copy and paste a working icon (from an existing app) into the directory where the misbehaving icons are and the new app will build successfully. (I use the same naming scheme for my icons).
I did eventually get the images to work, but after converting through ImageMagick the PNG files that were generated by Photoshop. During the ImageMagick conversion it threw the following message:
convert: Ignoring incorrect cHRM white(.28056,.29582) r(.62075,.3401)g(.28308,.5865)b(.13095,.06423) when sRGB is also present `icon_BIG_512x512.png' @ warning/png.c/MagickPNGWarningHandler/1754.
Im not exactly sure, but it seems the source image has some kind of errors, and the ImageMagick conversion removes it. Doing the conversions through Photoshop i could not get the icon to work with Content Builder. It seems that the Content Builder checks that the PNG are accurate, and the image although saved as PNG that i was feeding to Content Builder didnt match the proper PNG specifications. The ImageMagick conversion ignores thus removes the misbehaving areas of the image that did not match the PNG spec.
Thanks for the suggestion, they are not saved with interlaced option from Photoshop. I think i may have just come across a strange source picture. Never happened before so was curious what caused it and if people in the community have come across simliar problem.