Skip to content Skip to sidebar Skip to footer

Build Java Library With Resources

I am trying to make android java library, but when I build my project in output jar library placed only java compiled classes, but no resources and assets. Also my project contains

Solution 1:

To export jar with resource file please follow the below steps.

1) Right Click on Project Folder
2) Then Click on Export
3) Click on Java -> Jar file.
4) It opens a Jar Export Dialog . Please ensure that Exported generated class file and       
   resource check-box is checked.
5) Then provide the export destination .
6) Finally click on finish button.

Solution 2:

In export menu for eclipse, you have a check box asking you for the inclusion of source files

Post a Comment for "Build Java Library With Resources"