There is now a Android Library project type in the Eclipse plugin:

http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

Library projects are implemented using linked source directories.  The
apks themselves are not linked:

http://groups.google.com/group/android-developers/browse_thread/thread/b4a5d751346655b

Android Test projects are linked to other (instrumented) projects.
Check out the unit test project samples in the SDK.

On May 21, 6:00 pm, saphiroth <saphirot...@gmail.com> wrote:
> Hello all,
> I was wondering if its possible to reference one android project from
> another android project. I have two projects, test1 and test2. I have
> added test2 in the project properties of test1 under the projects tab.
> Unfortunately it keeps throwing a NoClassDefFoundError. Also, would
> the second android project (test2) be installed as a separate apk on
> the phone or would it be part of the encapsulating android project
> (test1) ?
>
> Thanks very much!
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to