Page 1 of 1
"Could not generate package manifest" with app icon.. SOLVED
Posted: Mon Jul 27, 2015 9:03 am
by JustinW42
I have been able to successfully deploy my test app to my Android device prior to adding an app icon, but the simple act of adding a .PNG icon file seems to break to deployment feature..... I have tried app icons with different sizes / resolutions, and I can't see to make it work. The error I receive is as follows:
"There was an error while saving the standalone application could not generate package manifest"
Again, everything works fine if I don't select an app icon....
Re: "Could not generate package manifest" with app icon...
Posted: Mon Jul 27, 2015 10:42 am
by dave.kilroy
hmm, I can't reproduce the error you're seeing - have you tried adding a completely different .png file in case it is some property of the ones you are using? - as regards sizes, I usually use 72 x72 for Android. Another thing is how are you adding reference to the file? make sure you use the button with the three little dots beside the icon name and don't attempt to copy/paste or manually write in the location.
Recently Panagiotis Merakos created a post on LiveCode's blog (
http://livecode.com/how-to-deploy-apps- ... d-devices/) listing various Android error messages - it lists your error message but doesn't mention .png files as the possible culprits - hope it sheds some light on what is really going on with your build!
Dave
Re: "Could not generate package manifest" with app icon...
Posted: Mon Jul 27, 2015 4:57 pm
by jacque
What is the name of the icon file?
Re: "Could not generate package manifest" with app icon...
Posted: Mon Jul 27, 2015 10:26 pm
by JustinW42
dave.kilroy wrote:hmm, I can't reproduce the error you're seeing - have you tried adding a completely different .png file in case it is some property of the ones you are using? - as regards sizes, I usually use 72 x72 for Android. Another thing is how are you adding reference to the file? make sure you use the button with the three little dots beside the icon name and don't attempt to copy/paste or manually write in the location.
Recently Panagiotis Merakos created a post on LiveCode's blog (
http://livecode.com/how-to-deploy-apps- ... d-devices/) listing various Android error messages - it lists your error message but doesn't mention .png files as the possible culprits - hope it sheds some light on what is really going on with your build!
Dave
I have tried with several different PNG files, and the most recent ones I have tried were indeed 72 x 72 @ 72 dpi.
I am adding the reference using the browse button (the little dots you refer to) then finding and selecting the desired file.
I am almost certain the issue is with the icon file or the setup of said file - if I change NOTHING ELSE and simply remove the icon reference and build the app, it works without a hitch. I then select an icon file and BAM - same error message every time. The one and only difference between different states is the icon variable...
Re: "Could not generate package manifest" with app icon...
Posted: Mon Jul 27, 2015 10:27 pm
by JustinW42
jacque wrote:What is the name of the icon file?
The name of the last icon image I had tried was "DTG-Price-List-Calculator-Icon-72x72-72dpi.png" - your post made me wonder if Livecode doesn't like to see "-" in file names, so I went ahead and renamed it to "DTGPLCIcon72x72.png", but of course the same problem occurs.
Re: "Could not generate package manifest" with app icon...
Posted: Mon Jul 27, 2015 10:39 pm
by LCNeil
Hi Justin,
Make sure the PNG file has no embedded color profile meta data. This is a known bug (our devs are investigating) and any images which contain such data, will break Android building. If you created the PNG in photoshop, "Embed color profile....." is enabled by default.
Kind Regards,
Neil Roger
--
LiveCode Support Team ~
http://www.livecode.com
-
Re: "Could not generate package manifest" with app icon...
Posted: Tue Jul 28, 2015 1:22 am
by JustinW42
LCNeil wrote:Hi Justin,
Make sure the PNG file has no embedded color profile meta data. This is a known bug (our devs are investigating) and any images which contain such data, will break Android building. If you created the PNG in photoshop, "Embed color profile....." is enabled by default.
Kind Regards,
Neil Roger
--
LiveCode Support Team ~
http://www.livecode.com
-
Thanks, Neil!! This was the problem. Thanks for pinning it down for me. My app now has a cool icon.

Re: "Could not generate package manifest" with app icon.. SO
Posted: Fri Apr 22, 2016 3:25 am
by maulinarmananda
I have the same problem here. I made png file image with photoshop, how can you solve ur problem?
Re: "Could not generate package manifest" with app icon.. SO
Posted: Fri Apr 22, 2016 10:39 am
by Klaus
Hi maulinarmananda,
I did not use Photoshop for many years, but I think if you use the "Export for web..."
menuitem(?) and select PNG, all metadata get stripped. At least worth a try...
Best
Klaus
Re: "Could not generate package manifest" with app icon.. SO
Posted: Tue Apr 26, 2016 3:13 pm
by maulinarmananda
waw great! it works. thank you
