android - Cordova 错误ENOENT

标签 android npm cordova-3

我正在尝试使用 cordova 添加 android 平台,但出现该错误。

enter image description here

我在添加 wp7、wp8 和 windows 8 时遇到问题,如下所示:

enter image description here

我尝试了这里找到的一些东西 Phonegap Build android - error "Adding the android platform" ENOENT但对我没有帮助。任何人都知道如何解决这个问题??

最佳答案

如果在 cmd 中键入 android 后显示:'xcopy' 未被识别。

然后添加到你的路径:%SystemRoot%\system32; %系统根%; %SystemRoot%\System32\Wbem;

在尝试解决同一个问题 3 天后,我终于找到了解决方案。谢谢: Installing Phonegap on Windows 7 : The command 'android' failed (我还不能添加评论)

关于android - Cordova 错误ENOENT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22395736/

相关文章:

java - 如何重置ImageView的位置?

node.js - Electron 伪造: missing some dependencies

android - 我如何在我的Android cocos2d项目中使用mp3声音,以免将apk的大小增加到25MB

git - 如何将 npm 依赖项指定为 github 子文件夹 url?

php - Symfony 进程 npm 安装。在 CLI 中工作不适用于 HTTP

android - Cordova 与服务器的连接不成功

android - Uncaught Error : SECURITY_ERR: DOM Exception 18 at file:///android_asset/www/js/DB. js

Cordova /PhoneGap TDD : How to use Jasmine and Karma to test mobile app?

java - 将 Javafx 应用程序 jar 文件转换为 apk 文件 (Netbeans)

android - 在framelayout中添加两个webview