安卓:包括外部罐中生成(不使用Eclipse)Eclipse

2023-09-07 10:16:00 作者:醉梦几时

我与Android合作的那一刻,尽量避免使用Eclipse(对此我有一种非理性的仇恨)。

I'm working with Android at the moment, trying to avoid using Eclipse (for which I have an irrational hatred).

我需要包括一个外部的.jar 文件(在我的活动中使用),而且不知道如何链接它蚂蚁调试 ...

I need to include an external .jar file (used in my Activity)and have no idea how to link it for ant debug...

我已经读了的build.xml 的文件,但添加 < 路径ID =compiler.classpath> ... < / ... > < 类路径> 节点到XML并不能帮助解决这个问题。

I've read up on build.xml files but adding <path id="compiler.classpath">...</...> or <classpath> nodes to the XML doesn't help fix it.

希望有人能帮助我出去!

Hope someone can help me out!

推荐答案

只是把它放在库/ 目录。其他的一切是从那里的护理 - 不需要Ant脚本修改。例如,下面的是展示集成了BeanShell的跨preTER示例项目这种方式。

Just put it in the libs/ directory. Everything else is taken care of from there -- no Ant script modifications are needed. For example, here is a sample project showing integrating a BeanShell interpreter this way.

 
精彩推荐
图片推荐