Android 使用Cordova 3.1.0-0.2.0生成错误Cordova项目
更新cordova插件后,在android设备上运行应用程序时,我得到: 在cli中:Android 使用Cordova 3.1.0-0.2.0生成错误Cordova项目,android,cordova,netbeans,Android,Cordova,Netbeans,更新cordova插件后,在android设备上运行应用程序时,我得到: 在cli中: Result: 1 sim-android: cordova -d run android cordova library for "android" already exists. No need to download. Continuing. Calling plugman.prepare for platform "android" Error: ENOENT, no such file or dir
Result: 1
sim-android:
cordova -d run android
cordova library for "android" already exists. No need to download. Continuing.
Calling plugman.prepare for platform "android"
Error: ENOENT, no such file or directory '/home/robin/NetBeansProjects/local/plugins/org.apache.cordova.file'
at Object.fs.statSync (fs.js:684:18)
at /usr/lib/node_modules/cordova/node_modules/plugman/src/prepare.js:124:15
Preparing android project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.device',
'org.apache.cordova.splashscreen',
'org.apache.cordova.file',
'org.apache.cordova.console',
'org.apache.cordova.battery-status',
'org.apache.cordova.contacts',
'org.apache.cordova.geolocation', at Array.forEach (native)
at Object.handlePrepare (/usr/lib/node_modules/cordova/node_modules/plugman/src/prepare.js:122:24)
at /usr/lib/node_modules/cordova/src/prepare.js:93:25
at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:798:54)
at self.promiseDispatch.done (/usr/lib/node_modules/cordova/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/cordova/node_modules/q/q.js:760:13)
at /usr/lib/node_modules/cordova/node_modules/q/q.js:821:14
'org.apache.cordova.network-information', at flush (/usr/lib/node_modules/cordova/node_modules/q/q.js:108:17)
'org.apache.cordova.globalization',
'org.apache.cordova.device-motion',
'org.apache.cordova.dialogs',
'org.apache.cordova.device-orientation',
'org.apache.cordova.media',
'org.apache.cordova.media-capture' ]
/home/robin/NetBeansProjects/local/nbproject/build.xml:272: exec returned: 1
BUILD FAILED (total time: 11 seconds)
更新插件是唯一一件因构建失败而被更新的事情
这是我的plugins.properties文件
org.apache.cordova.AudioHandler=https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git
org.apache.cordova.geolocation=https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
org.apache.cordova.console=https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
这方面的任何帮助都会很好,谢谢