Cordova 当添加插件文件传输时,phonegap 3.4运行android。所以它有错误消息

Cordova 当添加插件文件传输时,phonegap 3.4运行android。所以它有错误消息,cordova,Cordova,我开发了一个phonegap应用程序,我想添加文件传输插件。但是当我添加文件传输插件时。在我用设备运行之后(phonegap运行android)。因此,警报消息显示如下 BUILD FAILED F:\SoftPhonegap\adt-bundle-windows-x86-20131030\sdk\tools\ant\build.xml:720: The following error occurred while executing this line: F:

我开发了一个phonegap应用程序,我想添加文件传输插件。但是当我添加文件传输插件时。在我用设备运行之后(phonegap运行android)。因此,警报消息显示如下

    BUILD FAILED
    F:\SoftPhonegap\adt-bundle-windows-x86-20131030\sdk\tools\ant\build.xml:720: The
     following error occurred while executing this line:
    F:\SoftPhonegap\adt-bundle-windows-x86-20131030\sdk\tools\ant\build.xml:734: Com
    pile failed; see the compiler error output for details.

    Total time: 2 seconds
    Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,c:\project\resource_
    map_phonegap\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=
    ant-gen
       [error] cmd: Command failed with exit code 2

please help

我也犯了同样的错误。您必须更新工具和plataform工具,然后删除android平台并再次添加。这对我有用

cordova platform remove android
cordova platform add android
cordova build android

phonegap您现在使用的是哪个版本?我使用的是phonegap版本3.4