I’m working on an Android project and i need to import an XML library called XOM. The only way i found was to right click on the project name -> Properties -> Libraries tab -> click on “Add external Jar”. But that only references it from it’s original path, what happens when i compile the app and move it to my phone? Will the Jar be in there?
Might be a stupid question, sorry if that’s the case.
It’s fine to do that but what I normally do is create a folder called
liband then add Jars from there. I find that makes it easier to see what Jars I have in my application.The main disadvantage of your original approach is that what if the path to that library externally accidentally changes? then your program will not compile. It’s better to have everything in the one place to make things easier.