Reputation: 5455
Hey guys I have a simple question.
I downloaded and used the jml library to make my own messenger. This all worked until I decided to make an Android version of it. It appeared that I had to change 2 lines in two class files and patch 1 file in the source. So I downloaded the source and did this.
Now I need to make a .jar file out of the source again so I can add it to my project as an "external jar".
Screen of the source folder:
I hope I could make my question clear.
Thanks in advance,
Upvotes: 0
Views: 4718
Reputation: 5151
In your command line use:
java -jar cf <jar-name> <files>
More information here.
Upvotes: 1
Reputation: 15079
Try this, on menu Project
-> Properties
-> Android
, at right pane check Is Library
.
Build and find your jar
file in your project output.
Upvotes: 1