Question

I have a main Android application that is using an Android library project. When I change my library project and Build Project or Build All the changes are not detected in main project until I clean the main project or close and reopen Eclipse.

How con I solve this problem? Is there any rapid solution?

Update

I am using:

Eclipse 3.7.1

Android SDK API 15 Rev 3

Android SDK Tools Rev 19

Android SDK Platform-tools Rev 11

Was it helpful?

Solution

Solution 1) I clicked on Android Dependencies in Package Explorer and pressed F5 (refresh) and built the main project and problem solved.

enter image description here

Solution 2) this answer also works for this problem. It says you can add the project to the build path. ( Right click on project -> properties -> java build path -> Projects -> Add).

Under the Order and Export section, make sure the library is above the Android Dependencies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top