Reputation: 10109
I am developing my first Android app, and not using Eclipse. I'm trying to follow the instructions here, which is written for developing in Eclipse, although I'm using Emacs with Ant's build.xml
. How would you do the following:
- In Eclipse, add the .jar file to the build path.
with the Ant build.xml
?
Upvotes: 1
Views: 1317
Reputation: 30446
You want to add it to your class path for your javac
task:
If you have something like this then you would just add it to the same folder with the rest of your jars
<path id="master-classpath">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</path>
<javac destdir="build">
<src path="src"/>
<classpath refid="master-classpath"/>
</javac>
Upvotes: 1