cp copyFileSync could not write to dest file code=ENOENT

報錯:
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
哈哈

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章