سؤال

I have two Android Library Projects in Eclipse (yes, "Is library" is selected in both of them). One of those is ActionBarSherlock, the other one is ViewPagerIndicator

Now, ViewPagerIndicator must include ActionBarSherlock as a library dependence, so I add it under the "Android" settings of the project. Problem is, in the moment I add the library dependence, if I go to Java Build Path of the same project I can see that the dependence .jar of the added library is required but not present (of course, as it is a library project, no jars are created!).

What can be the problem? Furthermore, I have to add both libraries as dependences to an Android application, which presents the same issue.

هل كانت مفيدة؟

المحلول

Are you using ADT14? If so, you probably need to migrate the library projects to the new structure. Right click the library project and select 'Fix project properties' from the Android tools menu.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top