If you are designing your app to be minSdkVersion 10 and you add a dependency on a library that's 11, it should break your build, not silently update your app manifest to 11.
On Mon, Jan 27, 2014 at 10:18 AM, Malachi de AElfweald < mala...@playhaven.com> wrote: > So if I declare minSdk as 10 in my application; but depend on a 3rd party > library that says minSdk is 11... What is the recommended solution? > It seems that the best option would be to force the build to be minSdk 11 > and explain why in the logs -- rather than preventing the use of the 3rd > party library? > > > On Mon, Jan 27, 2014 at 10:05 AM, Xavier Ducrohet <x...@android.com> wrote: > >> The minSdkVersion should always be the one declared in the app, and all >> libraries should be equals or lesser then the app one. >> >> Formatting/Order, yes we should fix it to make it work better. >> >> >> On Mon, Jan 27, 2014 at 10:01 AM, Malachi de AElfweald < >> mala...@playhaven.com> wrote: >> >>> Another area to address with the manifest merging might be max(minSdk) >>> of all the libraries? >>> >>> Or making sure that things are grouped (permissions at the top, for >>> example) rather than intermixed when there are multiple libraries...? >>> >>> >>> On Mon, Jan 27, 2014 at 9:54 AM, Xavier Ducrohet <x...@android.com>wrote: >>> >>>> Not at the moment, but this is something we want to do. I'm currently >>>> writing a spec for it actually. Work on it should start in a few weeks I >>>> think, as we realize that the current merger shows some big limitations. >>>> >>>> >>>> On Mon, Jan 27, 2014 at 3:56 AM, Roman Mazur <mazur.ro...@gmail.com>wrote: >>>> >>>>> Does Android Gradle plugin provide any instruments for controlling how >>>>> manifest is merged? >>>>> Particularly I'm interested whether there is a way to exclude some >>>>> components declared in libraries from the final manifest. >>>>> >>>>> -- >>>>> 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/groups/opt_out. >>>>> >>>> >>>> >>>> >>>> -- >>>> 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 adt-dev+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> >>> Thank you, >>> Malachi de Ælfweald | Sr. SDK Developer | Kontagent-Playhaven >>> Mobile: +1 503-307-1597 >>> Skype: malachid69 | Find me on >>> LinkedIn<http://www.linkedin.com/in/malachid/> >>> >>> -- >>> 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/groups/opt_out. >>> >> >> >> >> -- >> 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 adt-dev+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > > Thank you, > Malachi de Ælfweald | Sr. SDK Developer | Kontagent-Playhaven > Mobile: +1 503-307-1597 > Skype: malachid69 | Find me on LinkedIn<http://www.linkedin.com/in/malachid/> > > -- > 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/groups/opt_out. > -- 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 adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.