AlexDisler / cordova-icon

Automatic icon resizing for Cordova
MIT License
689 stars 292 forks source link

Error: Command failed #76

Closed Wolf-P closed 7 years ago

Wolf-P commented 8 years ago

Hello,

I get an error when running cordova-icon

Checking Project & Icon

✓ platforms found: android ✓ icon.png exists ✓ config.xml exists

Generating Icons for android

{ [Error: Command failed: Invalid Parameter - -set ] timedOut: false, killed: false, code: 4, signal: null }

Am i missing some config? I got problems with the splashscreen aswell (but will place that in the right git)

haard commented 8 years ago

I got this as well, running on windows/cygwin

haard commented 8 years ago

Ah, it is because of a naming conflict on Windows. Putting convert from ImageMagick before the system32 version on the path (or installing the cygwin package) solves the issue.

breezyer commented 8 years ago

had same issue on Windows - haard got it right. Problem on my side was that imagemagick was not installed correctly. Make sure to check "Install legacy components (convert.exe etc)" and be sure that imagemagick comes before system32 in environmental variables path.

Wolf-P commented 8 years ago

@breezyer

Make sure to check "Install legacy components (convert.exe etc)"

This made it work for me

tberne commented 8 years ago

@breezyer what version of ImageMagik did you installed? I have installed version ImageMagick-7.0.2-6-Q16-HDRI-x64-static.exe but I didn't see any option like that. Indeed, in the install directory there's no convert.exe.

breezyer commented 8 years ago

I used ImageMagick-7.0.2-2-Q16-x64-dll.exe

humanismusic commented 7 years ago

Try this fork: https://github.com/eberlitz/splashicon-generator