Android的PhoneGap的 - mwbrooks /科尔多瓦 - 插件菜单 [英] Android PhoneGap - mwbrooks / cordova-plugin-menu

查看:106
本文介绍了Android的PhoneGap的 - mwbrooks /科尔多瓦 - 插件菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过,没有运气安装以下插件:
https://github.com/mwbrooks/cordova-plugin-menu

I tried installing the following plugin with no luck: https://github.com/mwbrooks/cordova-plugin-menu

我使用的PhoneGap 1.7.0

I'm using PhoneGap 1.7.0

我有基本的PhoneGap项目的设置和运行良好(Android版4.0.3):
<一href=\"http://docs.phonegap.com/en/1.7.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android\" rel=\"nofollow\">http://docs.phonegap.com/en/1.7.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android

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

当我运行作为 - > Android项目我得到以下错误:

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?

推荐答案

2)复制\\本地\\机器人\\库\\ PhoneGap的-1.0.0.jar到我的项目\\库\\的PhoneGap-1.0 .0.jar

我使用的PhoneGap 1.7.0

选择一个。熊掌不可兼得......

Pick one. Can't have both...

这篇关于Android的PhoneGap的 - mwbrooks /科尔多瓦 - 插件菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆