What I did was to create a new project, with a new package name.
Then right-click on that project
go to properties
Then Android
Go to the bottom and click IsLibrary

I used the library activity as the main class and in the projects that use
the library I extend the library version.

You also need to go to properties->Android in your non-library and tell it
to use the library.

Then compile the library.

Restart eclipse.

Then finish development.
On Dec 27, 2011 10:54 AM, "John Goche" <johngoch...@googlemail.com> wrote:

>
> On Tue, Dec 27, 2011 at 4:43 PM, TreKing <treking...@gmail.com> wrote:
>
>>
>> Yes, but an Android Library Project will help consolidate the common code.
>>
>
> OK, so how do I set up an android library project then. Having to maintain
> two separate source trees for every single application seems to be a pain.
>
> Please share your approach with us, I am very willing to learn what the
> alternatives may be,
>
> Thanks,
>
> John Goche
>
> --
> 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

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