Android PhoneGap - mwbrooks / cordova-plugin-menu

亡梦爱人 提交于 2019-12-12 06:01:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!