An error occured during creation of android sub-project

后端 未结 1 1429
天涯浪人
天涯浪人 2021-01-05 07:21

I installed cordova e phonegap via npm install -g cordova and npm install -g phonegap respectively. Then i created a HelloWorld application

相关标签:
1条回答
  • 2021-01-05 08:24

    XCOPY needs to be defined and found on your path as it is used by the internal node.js scripts to move things around.

    You probably already have xcopy.exe somewhere on your machine. You should be able to add %SystemRoot%\System32 to your PATH and it will work. Or you can open up a terminal and type where xcopy to see the actual path to your xcopy.exe.

    I guess having XCOPY on the path is a requirement for setting up and installing Android, but it'd be nice if Cordova checked to make sure you have XCOPY somewhere...

    0 讨论(0)
提交回复
热议问题