错误:构建android失败的代码1离子框架

时间:2015-05-28 19:36:00

标签: android ionic-framework

升级离子时,我在尝试运行" ionic build android"时收到此错误。我认为这是通过设置ANDROID_HOME,但我的bash_profile一如既往。不是因为它没有进行项目生成。

BUILD FAILED

Total time: 9.242 secs

/Users/lixsys/app_view/platforms/android/cordova/node_modules/q/q.js:126
                throw e;
                      ^
Error code 1 for command: /Users/lixsys/app_view/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/lixsys/app_view/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: /Users/lixsys/app_view/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: /Users/lixsys/app_view/platforms/android/cordova/build: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at Process.ChildProcess._handle.onexit (child_process.js:1080:5)

0 个答案:

没有答案