"Could not generate package manifest" with app icon.. SOLVED

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JustinW42
Posts: 52
Joined: Sun Nov 30, 2014 7:22 am
Location: Upland, CA
Contact:

"Could not generate package manifest" with app icon.. SOLVED

Post by JustinW42 » Mon Jul 27, 2015 9:03 am

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....
Last edited by JustinW42 on Tue Jul 28, 2015 1:22 am, edited 1 time in total.
-------------------------------------------------------------------------------------------------------------
Some things I do: http://www.katanadtg.com --- http://www.dtgprintsolutions.com

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK
Contact:

Re: "Could not generate package manifest" with app icon...

Post by dave.kilroy » Mon Jul 27, 2015 10:42 am

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
"...this is not the code you are looking for..."

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: "Could not generate package manifest" with app icon...

Post by jacque » Mon Jul 27, 2015 4:57 pm

What is the name of the icon file?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

JustinW42
Posts: 52
Joined: Sun Nov 30, 2014 7:22 am
Location: Upland, CA
Contact:

Re: "Could not generate package manifest" with app icon...

Post by JustinW42 » Mon Jul 27, 2015 10:26 pm

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...
-------------------------------------------------------------------------------------------------------------
Some things I do: http://www.katanadtg.com --- http://www.dtgprintsolutions.com

JustinW42
Posts: 52
Joined: Sun Nov 30, 2014 7:22 am
Location: Upland, CA
Contact:

Re: "Could not generate package manifest" with app icon...

Post by JustinW42 » Mon Jul 27, 2015 10:27 pm

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.
-------------------------------------------------------------------------------------------------------------
Some things I do: http://www.katanadtg.com --- http://www.dtgprintsolutions.com

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: "Could not generate package manifest" with app icon...

Post by LCNeil » Mon Jul 27, 2015 10:39 pm

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
-

JustinW42
Posts: 52
Joined: Sun Nov 30, 2014 7:22 am
Location: Upland, CA
Contact:

Re: "Could not generate package manifest" with app icon...

Post by JustinW42 » Tue Jul 28, 2015 1:22 am

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. :)
-------------------------------------------------------------------------------------------------------------
Some things I do: http://www.katanadtg.com --- http://www.dtgprintsolutions.com

maulinarmananda
Posts: 14
Joined: Thu Mar 24, 2016 12:13 pm

Re: "Could not generate package manifest" with app icon.. SO

Post by maulinarmananda » Fri Apr 22, 2016 3:25 am

I have the same problem here. I made png file image with photoshop, how can you solve ur problem?

Klaus
Posts: 13823
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: "Could not generate package manifest" with app icon.. SO

Post by Klaus » Fri Apr 22, 2016 10:39 am

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

maulinarmananda
Posts: 14
Joined: Thu Mar 24, 2016 12:13 pm

Re: "Could not generate package manifest" with app icon.. SO

Post by maulinarmananda » Tue Apr 26, 2016 3:13 pm

waw great! it works. thank you :)

Post Reply

Return to “Android Deployment”