问题
I tried installing the following plugin with no luck: https://github.com/mwbrooks/cordova-plugin-menu
I'm using PhoneGap 1.7.0
I have the basic PhoneGap project setup and running fine (Android 4.0.3): http://docs.phonegap.com/en/1.7.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android
I do not fully understand how to install the plugin, but I did the following:
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
When I run as -> Android Project I get the following error:
Conversion to Dalvik format failed with error 1
Did I install this correctly? If I did what is this error?
If not, how do I install this plugin?
回答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
Pick one. Can't have both...
来源:https://stackoverflow.com/questions/10802399/android-phonegap-mwbrooks-cordova-plugin-menu