How to convert Library project into jar

2019-08-12 04:36发布

问题:

Could any one please tell me the steps to convert the library project into jar.

回答1:

in eclipse select your library project

1:right click on project 
2: select export
3:java then jar



回答2:

Rightclick on Project>export>Java>jarfile select the files and your jar ready.

Be sure that library project files doesnt conflict other project file. ex Manifest.xml your library manifest may contains activity which is already in project(your jar added) manifest.



回答3:

  1. Project>export>Java>jarfile
  2. remove Manifest.xml
  3. remove /res