I ran into this issue as welll with 3rd party libs that have 12+ 
dependencies. Is there a way in gradle to create a secondary dex class file 
that I can put all my libraries into?

Thoughts on 
this: 
http://stackoverflow.com/questions/18174022/custom-class-loading-in-dalvik-with-gradle-android-new-build-system

Thanks,
Ray

On Tuesday, May 27, 2014 10:40:57 PM UTC-6, Xavier Ducrohet wrote:
>
> There's no doc about this yet. I'll have to look into it.
>
>
> On Tue, May 27, 2014 at 12:18 AM, Naveen Murthy 
> <[email protected]<javascript:>
> > wrote:
>
>> We are planning to migrate the android ANT build to Gradle. i have 
>> currently using gradle android build (0.9.0) 
>>
>> The issue i am facing now is that our apps can contain more than 64K 
>> method references, which is the maximum number of supported in a dex file 
>>
>> In ANT we are using custom class loading where we override the -dex task 
>> and load some file in secondary dex file during the build. 
>> All detail for ANT was mentioned in detail in this android developer blog 
>>
>> http://android-developers.blogspot.pt...<http://android-developers.blogspot.pt/2011/07/custom-class-loading-in-dalvik.html>
>>  
>>
>> Please let me know how can i override the custom dexDebug, dexRelease 
>> tasks from the build.gradle
>>
>> -- 
>> 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.

Reply via email to