离子构建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