Visual Studio Tools for Apache Cordova 添加来自 3party 的 Jar [英] Visual Studio Tools for Apache Cordova add a Jar from 3party

查看:24
本文介绍了Visual Studio Tools for Apache Cordova 添加来自 3party 的 Jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Visual Studio Tools for Apache Cordova 开发 hybird 应用程序,主要是 Jquery mobile.现在我想使用第三方 jar 文件.Visual Studio Tools for Apache Cordova 是否可以将 Jar 文件添加到我的项目中?谢谢.

I'm using Visual Studio Tools for Apache Cordova to develop hybird app,mainly Jquery mobile. And now I'd like to consume a thrid party jar file. Is it possible Visual Studio Tools for Apache Cordova can add a Jar file into my project ? Thank you.

推荐答案

我见过开发人员在构建的应用程序中使用 lib 文件夹作为 .jar 文件的目的地.这篇文章看起来很有帮助:How to include jar files in phonegap android application?

I've seen devs use the lib folder, in the built application, as a destination for .jar files. This post looks helpful: How to include jar files in phonegap android application?

引用答案:

"libs" 是用于存储 .jar 文件的默认文件夹,因此您的库将链接.

"libs" is the default folder for storing .jar files so your lib will be linked.

使用外部库查看现有插件.

Take a look at an existing plugin using an external lib.

一个例子(https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin)

这篇关于Visual Studio Tools for Apache Cordova 添加来自 3party 的 Jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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