|
发表于 2016-8-30 11:10:28
|
显示全部楼层
build/src/platforms/android/build.gradle -Dorg.gradle.daemon=true --offline
BUILD FAILED
Total time: 1.144 secs
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:2.0.0+.
Required by:
:android:unspecified
> No cached version listing for com.android.tools.build:gradle:2.0.0+ available for offline mode.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
ERROR building one of the platforms: Error: /Users/fengwenkai/Documents/software/WeX5_V3.5-mac/model/Native/外卖/build/src/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project
/Users/fengwenkai/Documents/software/WeX5_V3.5-mac/model/Native/外卖/build/src/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: /Users/fengwenkai/Documents/software/WeX5_V3.5-mac/model/Native/外卖/build/src/platforms/android/gradlew with args: cdvBuildRelease,-b,/Users/fengwenkai/Documents/software/WeX5_V3.5-mac/model/Native/外卖/build/src/platforms/android/build.gradle,-Dorg.gradle.daemon=true,--offline
Error: /Users/fengwenkai/Documents/software/WeX5_V3.5-mac/model/Native/外卖/build/src/platforms/android/cordova/build: Command failed with exit code 1
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
我也是出的这个问题,看了所有的帖子不知道怎么解决,后来把3.5版本的换成3.3的可以生成 |
|