UserError: Source path does not exist: icons/icon.png Is you r resource folder inside your www folder?

What platform are you building for?

Android

What framework are you building with?

Cordova

What is your build ID?

df05020e-14a7-4184-8daa-e29175f07855

What is your error message?

UserError: Source path does not exist: icons/icon.png Is you r resource folder inside your www folder?

Please describe the issue:

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 / icon.png, is there.

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

I tried re-naming icon.png to icon1.png but still it reports the image is missing?

Build Log: Source path does not exist: icon/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 “icons”), 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/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?”

In the config, replacing

<icon src="{icon}" />

with

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

Seems to have resolved it.

Thanks for posting an update! It appears this is an issue with AppStudio and not VoltBuilder.