如何让我的静态链接,包括资源的一个Android库? [英] How do I make an Android library for static linking that includes resources?

查看:137
本文介绍了如何让我的静态链接,包括资源的一个Android库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我成功地连接一些存储在基于的.jar库到我的Andr​​oid应用我的code的。该.jar code引用的Andr​​oid库中的内容就好了。

I am successfully linking some of my code stored in a .jar-based library to my Android app. The .jar code references Android library content just fine.

问题是我需要包括资源的资源库,但不能工作如何做到这一点。

The problem is I need to include 'res' resources in the library but can't work out how to do this.

有什么建议?

推荐答案

此讨论 HTTP: //www.anddev.org/viewtopic.php?p=30725 结果表明是目前不可能。

This discussion http://www.anddev.org/viewtopic.php?p=30725 indicates this isn't currently possible.

这篇关于如何让我的静态链接,包括资源的一个Android库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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