Xavier, as you mentioned, in 1.0, "provided" does seem being honored. I will git 1.1 a shot.
On Thursday, February 5, 2015 at 5:33:20 PM UTC-8, Xavier Ducrohet wrote: > > You can use provided instead of compile to only use it for compilation. > > It's not working great in 1.0, but we've fixed its support in 1.1 (coming > soon, rc1 already out). > > On Thu, Feb 5, 2015 at 10:22 AM, Jia Pu <[email protected] <javascript:>> > wrote: > >> Hello, >> >> I have a project in which the application depending on an android library >> module. Both the app and library modules depend on another jar, say >> foo.jar. foo.jar is installed on to device already. When I compile the >> library module, foo.jar will get included in the "libs" directory of the >> .aar package. This additional copy of foo.jar would cause runtime error -- >> "java.lang.IllegalAccessError: >> Class ref in pre-verified class resolved to unexpected implementation". >> >> So Is it possible to exclude a dependency jar from .aar package? >> >> Thanks >> >> Jia >> >> -- >> You received this message because you are subscribed to the Google Groups >> "adt-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > 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 "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
