報錯:
cp: copyFileSync: could not write to dest file (code=ENOENT):C:\workspace\h5\demo0430\platforms\android\res\xml\config.xml
Parsing C:\workspace\h5\demo0430\platforms\android\res\xml\config.xml failed
(node:7832) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open ‘C:\workspace\h5\demo0430\platforms\android\res\xml\config.xml’
將你自定義插件引入的第三方包這樣寫:
<lib-file src="src/android/com.date.jar" arch="device" />
原文https://stackoverflow.com/questions/50678936/cp-copyfilesync-could-not-write-to-dest-file-code-enoent/50714915
哈哈