connec
connec

Reputation: 7421

Android: Include External Jar in Build (Without Eclipse)

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!

Upvotes: 6

Views: 4025

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006664

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.

Upvotes: 7

Related Questions