现象
插件参数准备完成
Installing "cordova-plugin-splashscreen" for android
Failed to install 'cordova-plugin-splashscreen':Error: cmd: Command failed with exit code 1 Error output:
'D:\x5_version\BeX5_5098\model\Native\test' 锟斤拷锟斤拷锟节诧拷锟斤拷锟解部锟斤拷锟筋,也锟斤拷锟角匡拷锟斤拷锟叫的筹拷锟斤拷
锟斤拷锟斤拷锟斤拷锟斤拷锟侥硷拷锟斤拷
at ChildProcess.whenDone (D:\x5_version\BeX5_5098\tools\cordova\node_modules\cordova-lib\node_modules\cordova-common\src\superspawn.js:139:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
Error: cmd: Command failed with exit code 1 Error output:
'D:\x5_version\BeX5_5098\model\Native\test' 锟斤拷锟斤拷锟节诧拷锟斤拷锟解部锟斤拷锟筋,也锟斤拷锟角匡拷锟斤拷锟叫的筹拷锟斤拷
锟斤拷锟斤拷锟斤拷锟斤拷锟侥硷拷锟斤拷
****ERROR****: 子任务 "addPlugins" 执行失败。
原因:
app应用名中有()括号,如应用名为:test(justep)
解决方案:
把应用名中的括号去掉
评一波