1

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:

  1. In Eclipse, add the .jar file to the build path.

with the Ant build.xml?

1 Answer 1

1

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>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.