tags:

views:

59

answers:

1

Hi,

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

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

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!

A: 

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.

CommonsWare