1
当我尝试添加插件Android平台,它抛出下面的错误,不知道什么是错的,以前添加插件工作正常..科尔多瓦/ PhoneGap的添加插件失败
更新科尔多瓦到3.4后也试过。 0
错误:无法获取包信息org.apache.cordova.file
> cordova plugin add org.apache.cordova.file
Fetching plugin "org.apache.cordova.file" via plugin registry
**Error: Failed to fetch package information for org.apache.cordova.file**
at C:\Users\hank\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src
\registry\registry.js:32:20
at Request.cb [as _callback] (C:\Users\hank\AppData\Roaming\npm\node_modules\cordo
va\node_modules\plugman\src\registry\registry.js:251:9)
at self.callback (C:\Users\hank\AppData\Roaming\npm\node_modules\cordova\node_modu
les\plugman\node_modules\request\index.js:148:22)
at Request.EventEmitter.emit (events.js:117:20)
at ClientRequest.self.clientErrorHandler (C:\Users\hank\AppData\Roaming\npm\node_m
odules\cordova\node_modules\plugman\node_modules\request\index.js:257:10)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at Socket.socketErrorListener (http.js:1547:9)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:415:13)
你需要添加插件那里,科尔多瓦插件添加https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git – fedmich