使用phonegap build android 失败
G:\phonegap\HelloWorld>phonegap build android
[phonegap] executing 'cordova build android ' ...
ANDROID_HOME=E:\Program Files (x86)\Android\android-sdk
JAVA_HOME=E:\Program Files\Java\jdk1.8.0_102
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:compileDebugAidl
:CordovaLib:generateDebugBuildConfig
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets
:CordovaLib:processDebugManifest
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJavaWithJavac
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':CordovaLib:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.36 secs
Error: Error code 1 for command: cmd with args: /s,/c,"G:\phonegap\HelloWorld\pl
atforms\android\gradlew cdvBuildDebug -b G:\phonegap\HelloWorld\platforms\androi
d\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
这是怎么回事啊?使用cordova build android也是这个错误,求大神指教