0

我尝试安装以下插件,但没有成功: https ://github.com/mwbrooks/cordova-plugin-menu

我正在使用 PhoneGap 1.7.0

我有基本的 PhoneGap 项目设置并运行良好(Android 4.0.3): http ://docs.phonegap.com/en/1.7.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android

我不完全了解如何安装插件,但我做了以下操作:

1) Copied the \native\android\src\com\ to my project \src directory.
2) Copied the \native\android\libs\phonegap-1.0.0.jar to my project \libs\phonegap-1.0.0.jar

当我作为 -> Android Project 运行时,出现以下错误:

Conversion to Dalvik format failed with error 1

我是否正确安装了这个?如果我做了这个错误是什么?

如果没有,我该如何安装这个插件?

4

1 回答 1

1

2) Copied the \native\android\libs\phonegap-1.0.0.jar to my project \libs\phonegap-1.0.0.jar

I'm using PhoneGap 1.7.0

选一个。不能两者兼得...

于 2012-05-29T17:40:52.503 回答