Thanks for your kind response! And has now available? The specific version is ?2.1.1 or 2.1.2? And the use of way would not be changed ?since i want my app to be compatible with android 2.3,so i want to know the specific version of Gradle plugin which has enabled controlling dex function numbers 发自我的 iPhone
> 在 2016年4月26日,上午4:11,Xavier Ducrohet <x...@android.com> 写道: > > This is something we are looking at enabling again after 2.1. > >> On Mon, Apr 18, 2016 at 1:46 AM, 潘志舟 <panzhiz...@126.com> wrote: >> i also encountered,anyone has slove it? i want to add >> dx.additionalParameters to "--set-max-idx-number=***“ >> >> 在 2015年11月17日星期二 UTC+8下午5:48:50,Ariel Cattan写道: >>> >>> Hi guys, >>> >>> Working with plugin 1.5.0 I'm trying to figure out how to set command line >>> parameters for the dx. I am aware of the dexOptions directive, but it >>> doesn't provide the full set of command line parameters available in dx. >>> In previous versions of the android plugin I was using the dex class and >>> doing something like this: >>> >>> if (dexTask.additionalParameters == null) dexTask.additionalParameters = [] >>> dexTask.additionalParameters += '--no-locals' >>> >>> However, in 1.5.0, even if I find the task >>> "transformClassesWithDexForDebug", there is no longer an >>> "additionalParameters" property on that task. >>> Is there another way to achieve that? >>> >>> Specifically we need to control the following options: >>> --no-locals >>> --minimal-main-dex >>> >>> Thanks! >>> Ariel >> >> -- >> 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 adt-dev+unsubscr...@googlegroups.com. >> 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 a topic in the Google > Groups "adt-dev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/adt-dev/uGogKKuuHi8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > adt-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.