Sometimes it can be solved by restarting eclipse and choose "Project / Clean..." .
I'm using ADT 0.9.1.v200905011822-1621 . Luoh Ren-Shan On 7月27日, 下午5時38分, Bart van Wissen <bartvanwis...@gmail.com> wrote: > I'm working on twoprojects. One is essentially a library, and the > other is an application using that library. > Now from the application project, I want to use the library's classes, > so I added that project to the "requiredprojects" under java build > path. > It seems to compile fine, but at runtime, I get this error: > > 07-27 11:26:57.037: ERROR/dalvikvm(741): Could not find class > 'interdroid.contextframework.ContextManager', referenced from method > com.bartvanwissen.contextframeworktest.MainActivity.onCreate > > Apparently, the library project's classes are not added to the apk > file. How can I make sure they are included? Is this at all possible? > > Since I'm working on bothprojectsat the same time, I would like to > prevent having to create a jar file every time I want to test > something. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---