Unable to copy your icons, Please check your resources path an try again

Unable to copy your icons, Please check your resources path an try again

  

Hi,

I am adding custom app-icons & trying to generate builds fro android and iOS, but getting the error.

My Json:


{
    "resources": "MyResources.zip",
    "icons": {
        "android": [{
            "resource": "/ldpi.png",
            "density": "ldpi"
        },
        {
            "resource": "/mdpi.png",
            "density": "mdpi"
        },
        {
            "resource": "/hdpi.png",
            "density": "hdpi"
        },
        {
            "resource": "/xhdpi.png",
            "density": "xhdpi"
        },
        {
            "resource": "/xxhdpi.png",
            "density": "xxhdpi"
        },
        {
            "resource": "/xxxhdpi.png",
            "density": "xxxhdpi"
        }],
        "ios": [{
            "resource": "/Icon-App-20x20@1x.png",
            "width": "20",
            "height": "20"
        },
        {
            "resource": "/Icon-App-29x29@1x.png",
            "width": "29",
            "height": "29"
        },
        {
             "resource": "/Icon-App-40x40@1x.png",
            "width": "40",
            "height": "40"
        },
        {
             "resource": "/mdpi.png",
            "width": "48",
            "height": "48"
        },
        {
             "resource": "/Icon-Small-50x50@1x.png",
            "width": "50",
            "height": "50"
        },
        {
             "resource": "/Icon-App-55.png",
            "width": "55",
            "height": "55"
        },
        {
             "resource": "/Icon-App-57x57@1x.png",
            "width": "57",
            "height": "57"
        },
        {
             "resource": "/Icon-App-29x29@2x.png",
            "width": "58",
            "height": "58"
        },
        {
             "resource": "/Icon-App-60x60@1x.png",
            "width": "60",
            "height": "60"
        },
        {
            "resource": "/Icon-App-72x72@1x.png",
            "width": "72",
            "height": "72"
        },
        {
             "resource": "/Icon-App-76x76@1x.png",
            "width": "76",
            "height": "76"
        },
        {
             "resource": "/Icon-App-40x40@2x.png",
            "width": "80",
            "height": "80"
        },
        {
            "resource": "/Icon-App-29x29@3x.png",
            "width": "87",
            "height": "87"
        },
        {
             "resource": "/Icon-App-88.png",
            "width": "88",
            "height": "88"
        },       
        {
             "resource": "/Icon-Small-50x50@2x.png",
            "width": "100",
            "height": "100"
        },
        {
            "resource": "/Icon-App-72x72@2x.png",
            "width": "114",
            "height": "114"
        },
        {
             "resource": "/Icon-App-60x60@2x.png",
            "width": "120",
            "height": "120"
        },
        {
             "resource": "/Icon-App-72x72@2x.png",
            "width": "144",
            "height": "144"
        },
        {
            "resource": "/Icon-App-76x76@2x.png",
            "width": "152",
            "height": "152"
        },
        {
           "resource": "/Icon-App-83.5x83.5@2x.png",
            "width": "167",
            "height": "167"
        },
        {
             "resource": "/Icon-App-172.png",
            "width": "172",
            "height": "172"
        },
        {
            "resource": "/Icon-App-60x60@3x.png",
            "width": "180",
            "height": "180"
        },
        {
             "resource": "/Icon-App-196.png",
            "width": "196",
            "height": "196"
        },
        {
            "resource": "/iTunesArtwork@2x.png",
            "width": "1024",
            "height": "1024"
        }]
    }
}

assif_tiger wrote:

Hi,

I am adding custom app-icons & trying to generate builds fro android and iOS, but getting the error.

My Json:


{
    "resources": "MyResources.zip",
    "icons": {
        "android": [{
            "resource": "/ldpi.png",
            "density": "ldpi"
        },
        {
            "resource": "/mdpi.png",
            "density": "mdpi"
        },
        {
            "resource": "/hdpi.png",
            "density": "hdpi"
        },
        {
            "resource": "/xhdpi.png",
            "density": "xhdpi"
        },
        {
            "resource": "/xxhdpi.png",
            "density": "xxhdpi"
        },
        {
            "resource": "/xxxhdpi.png",
            "density": "xxxhdpi"
        }],
        "ios": [{
            "resource": "/Icon-App-20x20@1x.png",
            "width": "20",
            "height": "20"
        },
        {
            "resource": "/Icon-App-29x29@1x.png",
            "width": "29",
            "height": "29"
        },
        {
             "resource": "/Icon-App-40x40@1x.png",
            "width": "40",
            "height": "40"
        },
        {
             "resource": "/mdpi.png",
            "width": "48",
            "height": "48"
        },
        {
             "resource": "/Icon-Small-50x50@1x.png",
            "width": "50",
            "height": "50"
        },
        {
             "resource": "/Icon-App-55.png",
            "width": "55",
            "height": "55"
        },
        {
             "resource": "/Icon-App-57x57@1x.png",
            "width": "57",
            "height": "57"
        },
        {
             "resource": "/Icon-App-29x29@2x.png",
            "width": "58",
            "height": "58"
        },
        {
             "resource": "/Icon-App-60x60@1x.png",
            "width": "60",
            "height": "60"
        },
        {
            "resource": "/Icon-App-72x72@1x.png",
            "width": "72",
            "height": "72"
        },
        {
             "resource": "/Icon-App-76x76@1x.png",
            "width": "76",
            "height": "76"
        },
        {
             "resource": "/Icon-App-40x40@2x.png",
            "width": "80",
            "height": "80"
        },
        {
            "resource": "/Icon-App-29x29@3x.png",
            "width": "87",
            "height": "87"
        },
        {
             "resource": "/Icon-App-88.png",
            "width": "88",
            "height": "88"
        },      
        {
             "resource": "/Icon-Small-50x50@2x.png",
            "width": "100",
            "height": "100"
        },
        {
            "resource": "/Icon-App-72x72@2x.png",
            "width": "114",
            "height": "114"
        },
        {
             "resource": "/Icon-App-60x60@2x.png",
            "width": "120",
            "height": "120"
        },
        {
             "resource": "/Icon-App-72x72@2x.png",
            "width": "144",
            "height": "144"
        },
        {
            "resource": "/Icon-App-76x76@2x.png",
            "width": "152",
            "height": "152"
        },
        {
           "resource": "/Icon-App-83.5x83.5@2x.png",
            "width": "167",
            "height": "167"
        },
        {
             "resource": "/Icon-App-172.png",
            "width": "172",
            "height": "172"
        },
        {
            "resource": "/Icon-App-60x60@3x.png",
            "width": "180",
            "height": "180"
        },
        {
             "resource": "/Icon-App-196.png",
            "width": "196",
            "height": "196"
        },
        {
            "resource": "/iTunesArtwork@2x.png",
            "width": "1024",
            "height": "1024"
        }]
    }
}

Hi tiger,

In resource section Change the deploy action to deploy to target directory.


Regards,

PP