How to solve this Android project dependency problem?
I have the following items under Eclipse:
A (Android project) = > B (Java project
) = > C (Java project).
where the symbol “
=>” indicates that the project to the left of the symbol depends on the project on the right side of the symbol, and the build path of project B always contains project C in all cases.
If I include both project B and C under project A’s build path, A works fine.
However, if I include project B under project A’s build path and not project C, A crashes at runtime.
Since there is no direct dependency between A and C, is it possible to solve the above problem without including project C under the build path of project A?
Be careful not to convert C to an android project to allow other Java projects that depend on it (not indicated here) to run as well.
C’s library should be exported by Project B.