我刚开始使用一个新的Phonegap应用程序和一些测试。我想使用MapKit-Plugin https://github.com/imhotep/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我做错了什么?
谢谢!
发布于 2013-10-09 15:25:43
您必须使用"(your_project)/platforms/ android /“中的android项目路径作为”- project“参数,而不是phonegap项目的根路径。:)
iOS项目也是如此。
https://stackoverflow.com/questions/19271232
复制相似问题