Unable to copy your icons

Unable to copy your icons

  

Hi,

I've updated the resources file but now I can't generate android app: 

Error: Unable to copy your icons. Please check your resources path and try again.

I'm following this instructions https://success.outsystems.com/Documentation/10/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Modify_the_App_Icon and it was working first time, but after updating the resources file it stopped.

MyResources.zip contains currently only one file - png icon to use as android app icon. and on Extensibility I have:

{  
    "resources" : "MyResources.zip",
        "icons": {
        "android": [{
            "resource": "applogoAndroid.png",
            "density": "ldpi"
        },
        {
            "resource": " .png",
            "density": "mdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "hdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "xhdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "xxhdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "xxxhdpi"
        }]
    },
    "preferences": {
        "global": [{
            "name": "orientation",
            "value": "portrait"
        }]
    }
}


What can be the issue?

Thank you

Mykola,


I'm noticing your second resource path is blank " .png", is that the correct path to that particular resource?


Cheers,


Joshua

Hi Joshua,

thanks for noticing - sure its not correct I've accidentally cut the file name. But on app itself it is correct t:

{  
    "resources" : "MyResourcesAndroid.zip",
        "icons": {
        "android": [{
            "resource": "applogoAndroid.png",
            "density": "ldpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "mdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "hdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "xhdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "xxhdpi"
        },
        {
            "resource": "applogoAndroid.png",
            "density": "xxxhdpi"
        }]
    },
    "preferences": {
        "global": [{
            "name": "orientation",
            "value": "portrait"
        }]
    }
}



but error is still same

Hello Nick.

Is the png file in the root of your zip (no subfolders inside the zip)? 

Thanks

Hi César.

Yes it is. As I mentioned it is the only file (no folders) included on zip. And very first time it worked ok (there were also fonts files and iOS icon) but after I removed unused files and updated archive I started to have this error.

Hello Nick.

I was able to build an app using your extensibility and a MyResources with the following:

(Zip file with only applogoAndroid.png)



Hello César,

I've added all possible icons via MyResources and app is generating properly, but this icons appear not to be used as notification icons (I have Outsystems red logo) and local notification icon and small icon (white bell). 

Where there any changes on app generator or can it be related to environment version (it wasn't upgraded to latest version yet)?

I will appreciate any help. Thank you.