What's the error? Do you have a phonegap-version set in the config.xml?
Yes I did,
<preference name="phonegap-version" value="cli-6.5.0" />
And what's the error you get?
Can you try setting latest version available?
<preference name="phonegap-version" value="cli-7.1.0" />
Yes I also it's latest version 7.1.0, but still facing same problem. Windows app is building successfully, but android build is going failed.
I'll ask again, what's the error?
Sorry the version I was trying that was cli-7.0.1. When I changed it into 7.1.0. Android build was successful.
Thankew so much.
Can I have a little help more?
Thanks in advance...
Android build is now successful, but windows build is now failed with the following errors:
Error: ENOENT: no such file or directory, scandir 'C:\project\res\screens\windows'
at Error (native)
at Object.fs.readdirSync (fs.js:808:18)
at Array.forEach (native)
at mapImageResources (C:\project\cordova\lib\prepare.js:378:12)
at copyImages (C:\project\cordova\lib\prepare.js:442:23)
at _fulfilled (C:\project\cordova\node_modules\q\q.js:834:54)
at self.promiseDispatch.done (C:\project\cordova\node_modules\q\q.js:863:30)
at Promise.promise.promiseDispatch (C:\project\cordova\node_modules\q\q.js:796:13)
I checked all the directories and files, but log is still showing no such file or directory found.
Create a new question and provide your config.xml, specially the part about splash/icons for windows platform
Okay it would be better for others also.