Cordova cannot add Android failed with exit code ENOENT

前端 未结 8 2298
日久生厌
日久生厌 2020-11-30 08:41

I am trying to create an Android project with Cordova, however i am getting an ENOENT error although i followed the tutorial step by step very carefully, this is getting me

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 08:45

    If you are sure of yours paths try to type android in cmd if it says: 'xcopy' was not recognized.

    then add to your path:

    %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem;
    

    In certain cases, don't forget to reboot the PC.

提交回复
热议问题