I have an Android Project(A) that’s my main application, it references an Android library Project(B). The Library Project references a standard Java Project(C) which is my standard library for many Java and Android projects. I will reference these three projects as A,B,and C.
My issue is if I make a change to the C project it will auto compile but B doesn’t compile hence A doesn’t see the changes. The only way to do this is to clean B manually. Is there a way in Eclipse to force B to re-compile when C is compiled?
Using Eclipse 3.6.2 with ADT 14 and SDK 14.
I’ve also had this problem with ADT 14. In my case, I have less indirection (project A is the PLAIN java library (not an android library), project B is the android app).
What was really fun was that I had two project “B” (two android apps), and one was working. The other was an exact copy (with minor changes for a beta release), including a copy of the project files.
It compiled fine, but failed to package the library files on the beta version.
I removed the project (not deleting the files) and re-added it. Then, I also reconfigured the app’s build path and removed the java library. Then I reconfigured it again and re-added it.
Clean/Build and it started packaging them correctly again.
I also did the build order trick mentioned earlier…it didn’t help by itself, but may have contributed to the later eclipse refresh working (made sure library project built before others).