Source path does not exist, icon.png. Is your resource folder inside your www folder?

AppStudio: 9.1.8.3

I have checked and checked again, and the file path and file does exist, but VoltBuilder keeps reporting “Source Path does not exist”…

I have restarted my PC and I deleted the voltbuilder file.

I checked inside the voltbuilder file > www > icon_splash > icon.png, is there.

Also voltbuilder > resources = iconTemplate.png and splashTemplate.png are both there.

I tried re-naming icon.png to icon1.png and i have changed the folder name removing the underscore but still it reports the image is missing?

Build Log: Source path does not exist: icon_splash/icon.png Is your resource folder inside your www folder?

I have narrowed it down to the Properties > Common > icon: which is causing this issue.

I came to this conclusion by having two icons, one named icon1.png and another icon2.png (both in the same folder “icon_splash”), then I selected icon1.png in Common and icon2.png in VoltBuilder.

Properties > Common > icon: icon1.png.
and
Properties > VoltBuilder > icon: icon2.png.

And VoltBuilder reports source path does not exist for “icon_splash/icon1.png”.

If i remove the image from Properties > Common > icon,

VoltBuilder reports: “UserError: Source path does not exist: nsb/images/192.png Is your resource folder inside your www folder?”

This has implications for both AppStudio and VoltBuilder, so we’re all working on this one.

Can you try removing this line from your config.xml property?

<icon src="icons/icon.png" />

Alternatively, make sure your project has an icons folder, at the top level, with icon.png in it.

In the config, replacing

<icon src="{icon}" />

with

<icon src='resources/iconTemplate.png' />

Seems to have resolved it.

Yes, this also works. The problem is that there was no icons/icon.png file in your project.

The last time I updated this app was back in 2024, so not sure what has changed.

I’m sure I had tried renaming the (top level) folder “icon_splash” to “icons” which had the icon.png file in it, but I was still getting the same error.

You also get similar error if you remove the image from Common > Icon, but it refers to the nsb default icon.

After you suggested removing <icon src="{icon}" /> from the config, I checked the config on another app, which is where I saw I had set the icon with <icon src='resources/iconTemplate.png' />, so I must have come across this before in the past.

Thank you for looking in to it.