I am not sure if there is an easy solution

You would have to modify the build script that Android SDK uses
through Eclipse ADt to comle your library proejct first for input into
yoru main project's compile task..

path to build script ADt plugin uses:

sdk-install/platforms/android-1.5/templates/andorid_rules.xml  is the
hideen targets that you want ot modify

and main build script that you see upon project create is:

sdk-install/tools/lib/build.template
change tag
<setup/>

to import='false" and than inport the andorid_rules.xml stuff into
your main build script copying from the build.tempalte aove than you
are redy to modify the compile target to compile the other lib project
first than yoru project using the lib  project as an input..

Fred Grott
http://mobilebytes.wordpress.com

On Jul 27, 4:38 am, Bart van Wissen <[email protected]> wrote:
> I'm working on two projects. 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 "required projects" 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 both projects at 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to