android - 离子构建enoent错误

时间:2016-11-09 22:22:40

标签: java cordova ionic-framework

以下操作会导致错误

D:\mobileapp\myApp>ionic build android

运行命令:“C:\ Program Files \ nodejs \ node.exe”

D:\mobileapp\myApp\hooks\after_prepare\010_add_platform_class.js 
D:\mobileapp\myApp

添加到body类:platform-android

ANDROID_HOME=C:\Users\suffian\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_111

导致错误:

Error: cmd: Command failed with exit code ENOENT

0 个答案:

没有答案