Skip to content
Andre-Fonteles edited this page Jul 2, 2013 · 7 revisions

To compile the a CAC project it is necessary to generate a JAR file with a MANIFEST.MF according to the example in the CAC projects available. You must also prepare the JAR in order to be used in Android via the following commands:

dx --dex --output=classes.dex C:[DirectoryContainingTheJar][JarFileName].jar
aapt add C:[DirectoryContainingTheJar][JarFileName].jar classes.dex

NOTE 1: These commands only work if they are executed within the directory of the Android SDK tools
NOTE 2: To test if the procedure was successful, check if a file classes.dex was inserted into the JAR

Clone this wiki locally