如何使来自来源的.jar库 [英] How to make .jar library from sources

查看:82
本文介绍了如何使来自来源的.jar库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Tapjoy源来源,其中有这样的sructure: Tapjoy / src目录/ COM / tapjoy / *类

I have Tapjoy sources sources, which have such sructure: Tapjoy/src/com/tapjoy/*.class

必须与Android API 9级和更高的编译。 我的项目是在Android版本的API等级8。

It must be compiled with Android API Level 9 and higher. My project is in version Android API Level 8.

所以,我需要从来源Tapjoy - > tapjoy.jar 文件,并将其纳入到我的主要项目。

So I need to make from sources of Tapjoy -> tapjoy.jar file and include it to my main project.

我怎样才能让的.jar 使用命令行或月食文件是否正确?

How can I make .jar file properly with command line or from eclipse?

推荐答案

或命令行

jar cvf tapjoy.jar Tapjoy.class

这篇关于如何使来自来源的.jar库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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