如何添加外部JAR或ZIP文件中的黑莓项目 [英] How to add external jar or zip file in the Blackberry project

查看:140
本文介绍了如何添加外部JAR或ZIP文件中的黑莓项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一个jar文件添加到我的黑莓手机的项目。我曾尝试通过以下方式将jar文件 - >

I want to add a jar file to my BlackBerry project. I have tried adding the jar file by the following manner ->


  • 右键单击项目 - >属性 - >建设 - >导入的jar文件 - >添加

但在那之后,每当我尝试运行应用程序我得到模块abc.jar找不到错误。​​

But after that, whenever I try to run the application I get "Module abc.jar not found error".

我怎么一个jar文件添加至BlackBerry项目?

How do I add a jar file to a BlackBerry project?

推荐答案

我找出如何做到这一点的JDE环境:

I find out how to do it on JDE environment:

为了编译与外部JAR,必须做右击项目,属性 - >构建 - >导入的JAR文件,并添加所需的外部JAR文件

In order to compile with the external JAR, must do right click on project, properties -> Build -> Imported JAR files, and add desired external JARs.

和添加模块BB模拟器调试,方法是创建在同一个工作区的新项目,外部JAR添加到它作为一个资源文件,并设置项目的建设,以库(在属性 - >应用程序 - >项目类型)。

And for adding module to BB simulator for debugging, the way is creating a new project on the same workspace, add the external JAR to it as a resource file, and set the project Build to Library (on properties -> Application -> Project Type).

我希望这可以成为

这篇关于如何添加外部JAR或ZIP文件中的黑莓项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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