Is this still true ? Le mardi 25 juin 2013 03:47:00 UTC+2, Xavier Ducrohet a écrit : > > yeah we want to provide better control for this, but it's not possible > right now. > > > On Mon, Jun 24, 2013 at 1:36 AM, Patrick Boos > <[email protected]<javascript:> > > wrote: > >> Current project: >> >> - project >> -- minSdkVersion: 7 >> - aar (from maven) >> -- minSdkVersion: 8 >> >> Gives me the following error: >> > Main manifest has <uses-sdk android:minSdkVersion='6'> but library uses >> minSdkVersion='7' >> >> Where I see why this is done, I am wondering if this should actually be >> forced. In above project I know that I actually use a sdk higher than the >> minSdk on the project. What I am doing is: "if sdk >= 8 use the new nice >> features from the library, otherwise do not use the code from the library" >> >> This is currently the use case in my project. And what I have to do is to >> actually set minSdkVersion to 8 in my library project, which works in my >> case, but since provided to others, could cause problems. I wonder if this >> error could be turned into a warning. Or if there is another nicer way of >> informing the user that he should only use that library in sdk>8 cases. >> Could something like @TargetApi be done with lint instead of in the >> compiler? >> >> Patrick >> >> -- >> 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/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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
