Cordova 如何在CLI生成的phonegap应用程序中使用plugman插件

Cordova 如何在CLI生成的phonegap应用程序中使用plugman插件,cordova,mapkit,command-line-interface,Cordova,Mapkit,Command Line Interface,我刚开始使用一个新的Phonegap应用程序和一些测试。 我想使用MapKit-插件 我用phonegap create Test创建了一个新的应用程序 下一步: cd Test phonegap build ios phonegap build android plugman --platform android \ --project . \ --plugin https://github.com/imhotep/MapKit.git \ --variable API

我刚开始使用一个新的Phonegap应用程序和一些测试。 我想使用MapKit-插件

我用
phonegap create Test
创建了一个新的应用程序

下一步:

cd Test
phonegap build ios
phonegap build android
plugman --platform android \
    --project . \
    --plugin https://github.com/imhotep/MapKit.git \
    --variable API_KEY="xxxxx"

Error: ENOENT, no such file or directory '/Users/User/Entwicklung/2.0/prototypes/Test/AndroidManifest.xml'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.openSync (/usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:68:26)
at Object.fs.readFileSync (fs.js:284:15)
at Object.module.exports.parseElementtreeSync (/usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/src/util/xml-helpers.js:144:27)
at androidPackageName (/usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/src/platforms/android.js:131:28)
at handlePlugin (/usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/src/platforms/android.js:41:24)
at Object.module.exports.install (/usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/src/platforms/android.js:30:9)
at runInstall (/usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/src/install.js:110:13)
at /usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/src/install.js:28:17
at /usr/local/Cellar/node/0.10.3/lib/node_modules/plugman/src/util/plugins.js:105:31
我做错了什么


谢谢

您必须使用“(your_project)/platforms/android/”中android项目的路径作为“-project”参数,而不是phonegap项目的根路径。:)

iOS项目也是如此