I’m about to write a small and lightweight dependency management tool for Android projects. With it you’ll be able to compile a list of jar files and Android library projects you will need. These jars and library projects should then automatically be downloaded and added to your project settings.
The “added to your project settings” part for Android library projects is my problem. Is there some sort of settings file (e.g. like the .classpath file) where this could be inserted? I couldn’t find anything in the project folder.
To clear things up. I’m not talking about the ant build process. It’s clear how to add library projects there. I’m only talking about the Eclipse settings for Android library projects.
Thanks!
For jars, add a classpathentry into the project’s .classpath file, e.g.:
Note that the jar will need to be in the project’s libs folder.
For Android projects, add them into the project.properties file, e.g.:
(incrementing the number with each android library)