ah that is annoying. As a workaround you could create another library
that has no code/resources but only the jar file and make both of the
library that needs the jar file depend on it.

Xav

On Wed, Feb 23, 2011 at 9:59 AM, Ian Dees <[email protected]> wrote:
> I've attached the output of my "ant debug" run at the command line.
> Unfortunately it exits with a build failure so I cannot ignore and continue.
>
> On Wed, Feb 23, 2011 at 11:52 AM, Xavier Ducrohet <[email protected]> wrote:
>>
>> 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
>



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