I am getting the same error message

Failed

UserError: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:mergeReleaseResources’. > Multiple task action failures occurred: > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > Android resource compilation failed /Users/enterpriseneptune/Code/VoltBuilder/upload/f0ad14e8-878e-4d49-850d-5bbd0e79cce8/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature. /Users/enterpriseneptune/Code/VoltBuilder/upload/f0ad14e8-878e-4d49-850d-5bbd0e79cce8/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: AAPT: error: file failed to compile. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > Android resource compilation failed /Users/enterpriseneptune/Code/VoltBuilder/upload/f0ad14e8-878e-4d49-850d-5bbd0e79cce8/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: failed to read PNG signature: file does not start with PNG signature. /Users/enterpriseneptune/Code/VoltBuilder/upload/f0ad14e8-878e-4d49-850d-5bbd0e79cce8/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: AAPT: error: file failed to compile.

Are your images valid png files?

I think so, I saved them as png on Photoshop.

Below is the (config) XML file. Have I messed up in here? This is a modified version of someone else’s config file, it is likely that I messed up.

<widget android-versionCode="1" id="com.fivestartaxis.turan" version="1.0.0" xmlns="https://www.w3.org/ns/widgets" >
    <name>Five Star Taxi Fare App</name>
    <description />
    <icon src="resources/images/icon.png" />
        
    <platform name="android">
        <preference name="WKWebViewOnly" value="true" />
            <feature name="CDVWKWebViewEngine">
                <param name="android-package" value="CDVWKWebViewEngine" />
            </feature>
        <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
    </platform>
   
    <allow-navigation href="*" />
    <access origin="*" />
    <allow-intent href="*" />
   
    <platform name="android">
        
        <icon density="hdpi" src="resources/images/icon.png" />
        
    </platform>
</widget>```

The error message is almost certainly correct. There is something wrong with your png files.

There was a problem with the config XML, I fixed it. Thank you for your help.