生成android应用包:
Running command: cmd "/s /c "D:\WeX5_V3.5\model\Native\mygame\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline""
ANDROID_HOME=D:\WeX5_V3.5\tools\adt-sdk
JAVA_HOME=D:\WeX5_V3.5\java\jre1.8
Running: D:\WeX5_V3.5\model\Native\mygame\build\src\platforms\android\gradlew cdvBuildRelease -b D:\WeX5_V3.5\model\Native\mygame\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
BUILD FAILED
Total time: 10.428 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: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project