I am trying to generate icons for both ios and android using ionic cordova resources
.
However it does not work and I am getting the following output:
ionic cordova resources --force
✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations - done!
✔ Generating platform resources: 25 / 25 complete - done!
✔ Modifying config.xml to add new image resources - done!
The following images were not created because their source image was too small:
icon-1024.png ios/icon needed 1024×1024px
icon-small@3x.png ios/icon needed 87×87px
icon-small@2x.png ios/icon needed 58×58px
icon-small.png ios/icon needed 29×29px
icon-83.5@2x.png ios/icon needed 167×167px
icon-76@2x.png ios/icon needed 152×152px
icon-76.png ios/icon needed 76×76px
icon-72@2x.png ios/icon needed 144×144px
icon-72.png ios/icon needed 72×72px
icon-60@3x.png ios/icon needed 180×180px
icon-60@2x.png ios/icon needed 120×120px
icon-60.png ios/icon needed 60×60px
icon-50@2x.png ios/icon needed 100×100px
icon-50.png ios/icon needed 50×50px
icon-40@3x.png ios/icon needed 120×120px
icon-40@2x.png ios/icon needed 80×80px
icon-40.png ios/icon needed 40×40px
icon@2x.png ios/icon needed 114×114px
icon.png ios/icon needed 57×57px
drawable-xxxhdpi-icon.png android/icon needed 192×192px
drawable-xxhdpi-icon.png android/icon needed 144×144px
drawable-xhdpi-icon.png android/icon needed 96×96px
drawable-hdpi-icon.png android/icon needed 72×72px
drawable-mdpi-icon.png android/icon needed 48×48px
drawable-ldpi-icon.png android/icon needed 36×36px
The size of my icon.png is 2000px x 2000px.