无法使用'ionic build android'部署到Android设备

时间:2016-01-31 04:46:25

标签: angularjs cordova ionic-framework phonegap-plugins

离子构建android在mac上失败:(

FAILURE: Build failed with an exception.

出了什么问题:

A problem occurred configuring root project 'android'.
Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find any version that matches com.android.support:support-v4:+.
Could not find any version that matches com.android.support:support-v13:23+.

使用--stacktrace选项运行以获取堆栈跟踪。使用--info--debug选项运行以获得更多日志输出。

BUILD FAILED

Total time: 5.006 secs
/Users/Rain/Desktop/hc/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                    ^
Error code 1 for command: /Users/Rain/Desktop/hc/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/Rain/Desktop/hc/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: /Users/Rain/Desktop/hc/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/Rain/Desktop/hc/platforms/android/cordova/build: Command failed with exit code 1

0 个答案:

没有答案