`
mmdev
  • 浏览: 12914807 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

linux android 如何把android项目打成jar包

 
阅读更多
导出
1. 创建androidproject
2.package explorer中右键点击工程,export java->jar file.

使用
1. 创建android project
2. 工程属性java build path->Libraries中加入刚才的jar文件
3. 在android工程中使用jar的类。

只能在jar中共享代码,使用资源不行。


参考文章:http://hi.baidu.com/gaogaf/blog/item/cfe22c73bb33d7128601b061.html

http://hi.baidu.com/gaogaf/blog/item/1757d309274b098cd1581bd7.html

http://www.360doc.com/content/12/0222/16/8831890_188655104.shtml

http://www.eoeandroid.com/forum.php?mod=viewthread&tid=83414&highlight=

http://www.bwxxkj.com/a/jishuzhongxin/shoujikaifa/2011/1208/55795.html

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics