cordova error ENOENT

梦想与她 提交于 2019-12-02 01:05:01
hdmartinez

If after type android in cmd says: 'xcopy' was not recognized.

then add to your path: %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem;

After 3 days trying to solve the same issue, finally I found the solution. Thank's to: Installing Phonegap on Windows 7 : The command 'android' failed (I can't add comments yet)

Download and install node.js

http://nodejs.org/

Install ant using brew and set ANDROID_HOME to your path.

Download and install Homebrew by executing following command in terminal:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Install Apache Ant via Homebrew by executing

brew install ant

set ANDROID_HOME to your path

%ANDROID_HOME%;
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!