Android Library projects do work in eclipse, but the automatic setup is a
bit fragile.

>From the errors you have though it sounds like the setup isn't the problem.
Did you follow the exact instructions at
http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

If you can compile but can't run it seems like a different problem than the
library projects. Also, are you using ADT 9? (there as some problems in what
gets packaged in the dex file in ADT 8)

Xav

On Fri, Feb 18, 2011 at 9:32 AM, Bret Foreman <bret.fore...@gmail.com>wrote:

> It looks as if Android library projects simply don't work in Eclipse.
>
> On my first try, I got everything to build but then got runtime errors
> from Verify Exceptions. Bad bytecodes in other words.
>
> So I reconstructed the main project and library projects from scratch.
> Half-way through that process, Eclipse started hanging during the
> build.
>
> So it looks like I should either switch to Ant-based builds or JARs
> instead of Android library projects (or maybe both). This turns out to
> be a lot more work than I bargained for. Any advice?
>
> --
> 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
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

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