使用Eclipse在IBM Mobile 7.1中添加第三方Cordova插件 [英] Adding third party Cordova Plugin in IBM Mobile first 7.1 using Eclipse

查看:165
本文介绍了使用Eclipse在IBM Mobile 7.1中添加第三方Cordova插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是IBM mobile firstplatform的新手。我在Eclipse中安装了MFP 7.1插件。任何想法如何使用Eclipse在我现有的MFP项目中添加第三方Cordova插件?

I am new to IBM mobile firstplatform. I have installed the MFP 7.1 plugin in Eclipse. Any idea how do I add a third party Cordova plugin in my existing MFP project, using Eclipse?

我们可以使用命令行来完成。但是我需要使用Eclipse来实现它。

We can do it using command line. But I need to do it using Eclipse.

推荐答案

实际上,你不能通过命令行来做到这一点。使用mobilefirst创建的混合应用程序不支持通过Cordova CLI安装第三方插件。

Actually, you cannot do this via command line. Hybrid apps created using mobilefirst do not support 3rd party plug-in installation via the Cordova CLI.

通过命令行执行此操作的唯一方法是创建实际的Cordova应用程序(与您在Studio中了解的经典混合应用程序不同): https://www.raymondcamden.com/2015/08/17/getting-started-with-mobile-development-and-ibm-mobilefirst-7-1/

The only way to do this by command line, is by creating actual Cordova applications (unlike classic hybrid apps as you know them from Studio): https://www.raymondcamden.com/2015/08/17/getting-started-with-mobile-development-and-ibm-mobilefirst-7-1/

但是,您可以为Studio遵循一个解决方法: https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins /
但请注意,这只是一种解决方法而非官方解决方案。

There is, however, a workaround you can follow for Studio: https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins/ Note however that it is only a workaround and not an official solution.

这篇关于使用Eclipse在IBM Mobile 7.1中添加第三方Cordova插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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