It's not possible at this time to exclude them.

I believe the error is actually only a warning, in which case you could
ignore it?

On Wed, Feb 23, 2011 at 6:51 AM, Ian <[email protected]> wrote:

> Hi all,
>
> My Android project has multiple Android Library dependencies. Two of them
> use the ORMlite JAR so they each have that JAR in their libs directory so we
> can build the individual projects with Eclipse. However, when I try to build
> the overall Android project with ant, the -dex step complains that the
> classes from the ORMlite JAR were already added.
>
> I suppose this makes sense (since dex is adding the classes from the
> dependencies, there are in fact two ormlite JARs whose classes are being
> added), but is there a way to specify that these JARs should not be included
> in the dex process?
>
> Thanks!
>
> --
> 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




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