Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Add dummy splash screen settings to config.xml
<preference name="SplashScreen" value="screen" />
Run build
C:\temp_rc3_5_0\app
λ cordova build windows8
Running command: C:\temp_rc3_5_0\app\platforms\windows8\cordova\build.bat
Building Cordova Windows 8 Project:
Configuration : Debug
Directory : C:\temp_rc3_5_0\app\platforms\windows8
MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\
cmd /c ""C:\Program Files (x86)\MSBuild\12.0\bin\msbuild" "C:\temp_rc3_5_0\app\platforms\windows8\CordovaApp.sln" /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo /p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Applying Platform Config ...
Setting SplashScreen = screen
package.appxmanifest(20,31): error APPX1617: App manifest references the splash screen image 'screen' which has
an unsupported extension. Extension must be JPG, JPEG, or PNG. [C:\temp\_rc3_5_0\app\platforms\windows8\CordovaApp.jsproj]
Error: C:\temp_rc3_5_0\app\platforms\windows8\cordova\build.bat: Command failed with exit code 2
at ChildProcess.whenDone (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
We should check that file exists and if not then echo warning message instead of fail